{# Active filter chips (free-text search + future Filter-By). #}
{# Loading indicator #}
{# Clear-all when at least one chip is active. #}
{% if show_columns is not defined or show_columns %}
{# Column visibility — toggles which list columns are shown. #}
{% endif %}
{# Filters toggle — opens the per-column Filter By + Group By panel. #}
{# ── Dropdown: Filter By + Group By ──
Anchored to the search bar, two-column on md+, stacked on
small screens. Each Filter By item is a -like
toggle that reveals its type-appropriate sub-control:
- m2o → searchable picker via /api/m2o/search
- boolean → fixed Yes / No buttons
- other → not in this slice
Group By items are single-select; clicking the active one
clears the grouping. #}
{% if show_columns is not defined or show_columns %}
Show columns
{% endif %}
{# ── Filter By column ── #}
Filter By
{# Boolean: two static buttons #}
{# Many2one: inline search input + result list backed
by /api/m2o/search. We piggyback on the same
endpoint the m2o combobox uses. #}