Kanban ยท console.warn
board.filters.reapply({name}) names no registered predicate; nothing was re-run.
Printed by Kanban, prefixed [lattice], since 1.57.0.
Warnings reference › kanban.filters.reapply:*
- Identifier
kanban.filters.reapply:*- Raised by
- Kanban
- Since
- 1.57.0
What happened
reapply(name) re-runs a predicate whose *result* may have changed although the rows did not - a filter that closes over a live variable, for instance. The name given is not registered, so there was nothing to re-run and the board was not regrouped.
The fix
Check the name against board.filters.where() with no arguments, which lists the registered names in registration order. Calling reapply() with no name re-runs all of them.
The smallest fix
board.filters.reapply('mine');
Reference
Covered in full at the API reference.