The Judge.practice_area column exists and is filterable in the model's useSearch trait, but /judges doesn't surface it as a filter UI, and /reviews has no way to narrow by practice area. Easy win — column's already there.
Scope
- Filter pill on
/judges: "All / Criminal / Civil / Family / Probate / Appellate / Bankruptcy / Other". URL-driven via?practice_area=family. - Sidebar / topbar on
/reviewsfor the same filter (filters down to reviews on judges with that practice area). - Each practice area gets a count badge ("Civil (24)") derived from the live data.
Acceptance
- Selecting "Family" on
/judgesnarrows the directory to family-court judges. - Counts reflect the actual seeded data.
- Practice area is reflected in the URL so deep links and shares work.
Related
- Subsumed by the broader "search filters" issue, but small enough to ship standalone first.
- Best done after Meilisearch migration so the filter uses index-level facets instead of SQL
WHERE.