Fix no operators being available when filtering on static formula columns

This commit is contained in:
Andrew Kingston 2024-05-02 15:05:35 +01:00
parent a2b7791976
commit f0c44fadde
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@
const fieldSchema = schemaFields.find(x => x.name === filter.field) const fieldSchema = schemaFields.find(x => x.name === filter.field)
filter.type = fieldSchema?.type filter.type = fieldSchema?.type
filter.subtype = fieldSchema?.subtype filter.subtype = fieldSchema?.subtype
filter.formulaType = fieldSchema?.formulaType
// Update external type based on field // Update external type based on field
filter.externalType = getSchema(filter)?.externalType filter.externalType = getSchema(filter)?.externalType