Browse Source

Fix filtering no datetime fields in blocks

master
Andrew Kingston 5 years ago
parent
commit
d5ef915f39
  1. 2
      packages/client/src/components/app/blocks/CardsBlock.svelte
  2. 2
      packages/client/src/components/app/blocks/TableBlock.svelte

2
packages/client/src/components/app/blocks/CardsBlock.svelte

@ -75,7 +75,7 @@
enrichedFilter.push({
field: column.name,
operator: column.type === "string" ? "string" : "equal",
type: column.type === "string" ? "string" : "number",
type: column.type,
valueType: "Binding",
value: `{{ ${safe(formId)}.${safePath} }}`,
})

2
packages/client/src/components/app/blocks/TableBlock.svelte

@ -63,7 +63,7 @@
enrichedFilter.push({
field: column.name,
operator: column.type === "string" ? "string" : "equal",
type: column.type === "string" ? "string" : "number",
type: column.type,
valueType: "Binding",
value: `{{ ${safe(formId)}.${safePath} }}`,
})

Loading…
Cancel
Save