# Console tables — sort & search convention

All admin list tables use `table.t` (or `table.matrix`). **Sorting** and **cross-column search** are automatic via `public/assets/js/console-tables.js`.

## Markup

- `<table class="t">` with labelled `<th>` columns
- Action-only last column: `class="right"` on `<th>` / `<td>` (not sortable)
- Empty state: one `<td colspan="N">` row
- Opt out: `data-no-enhance="1"` on the table
- Skip sort on a column: `class="no-sort"` on `<th>`

## Search

- Toolbar above each table; filters after **3 characters** across **all columns**
- Server GET filters (e.g. products `q=`) remain for full-dataset / paginated queries

## New tables

Do not add per-page sort/search JS. Follow the checklist above.
