:searchable on M2M list fields (search through join tables)
Improvement to "Clickable list-value chips" (MVP Now): teach free-text :search to match through join tables, so typing "chores" in the todos search box also finds todos tagged chores. Today :searchable t is compile-rejected on :type :list fields (compile-field requires :column t, :type :text, no :target; collect-searchable-fields only gathers base column names).
Engine work: relax the compile rule for M2M list fields; phase-a-search-clause gains an EXISTS subquery arm per searchable list field (match when any joined value ILIKEs the term) instead of the flat OR-group over base columns; test suites + model-reference.md updates.
Lower priority than the chips: exact-match chips are the better tag UX, and once they exist this only adds fuzzy substring matching on top. Value rises for large tag vocabularies where clicking is impractical.
- Slot
- 16200
- Status
- 10 Open
- Tags
- backend, frontend, compiler
- Contributors
- Donnie