1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

Fix filtering no datetime fields in blocks

This commit is contained in:
Andrew Kingston 2022-01-25 08:42:07 +00:00
parent aec1f90412
commit d5ef915f39
2 changed files with 2 additions and 2 deletions

View file

@ -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} }}`,
})

View file

@ -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} }}`,
})