The grid (core) ยท console.warn
filters.where("{name}", fn, { condition }) needs a FilterSet; the predicate is registered but nothing is pushed to the source.
Printed by The grid (core), prefixed [lattice], since 1.56.0.
Warnings reference › filters.where.condition:*
- Identifier
filters.where.condition:*- Raised by
- The grid (core)
- Since
- 1.56.0
What happened
condition is the declarative twin of a predicate: the grid pushes it down to the source so the server can do the narrowing, and runs the function locally as the authority. The value given is not a filter set, so only the local predicate runs - correct results, and the whole dataset comes over the wire. The registration itself is kept, because losing a permission predicate over a malformed option is the one outcome worth designing against.
The fix
Pass a filter set object as condition, or leave it out.
Reference
Covered in full at the API reference.