1
0
Fork 0
mirror of synced 2024-07-09 08:16:34 +12:00

Fix blocks not filtering properly on number fields

This commit is contained in:
Andrew Kingston 2021-12-09 19:36:53 +00:00
parent c97852d0ff
commit 9708539631
2 changed files with 2 additions and 2 deletions

View file

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

View file

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