Tabs · console.warn
tab "{id}": config.source is replaced by the derived source built from from: "{parent}" - set the narrowing (where/group/join/…) on the tab descriptor itself rather than on config.source.
Printed by Tabs, prefixed [lattice], since 1.50.0.
Warnings reference › tabs.source.overridden
- Identifier
tabs.source.overridden- Raised by
- Tabs
- Since
- 1.50.0
What happened
The tab declares both from (derive from another tab) and its own config.source. They cannot both be the tab's source, and from wins: the source you wrote is replaced by the derived one, so any narrowing expressed inside it is gone. Everything else in config is applied as written.
The fix
Move the narrowing up to the tab descriptor, where the module reads it and folds it into the derived source.
The smallest fix
tabs: [{ id: 'late', title: 'Late', from: 'all', where: { field: 'due', op: '<', value: today } }]
Reference
Covered in full at the API reference.