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