Kanban ยท console.warn
the "order" comparator threw ({error}); the ...
Printed by Kanban, prefixed [lattice], since 1.115.0.
Warnings reference › kanban:order:throws
- Identifier
kanban:order:throws- Raised by
- Kanban
- Since
- 1.115.0
What happened
The board's order comparator (config order, or board.setOrder(fn)) threw while sorting a column's cards. The board sorts a copy, so the column stays in the order it had before the comparator ran (the orderProperty order, or arrival order) and nothing goes blank. Reported once per board.
The fix
Make the comparator total over every card in the column: guard missing or non-comparable values (a.row.score ?? 0) and never throw; setOrder(null) clears it.
Reference
Covered in full at the API reference.