impress/app/views/wardrobe
Emi Matchu 4f2691ef43 [WV2] Switch search to text-based filter syntax
Replace the structured search filter approach with from_text(), enabling
the full search syntax (is:nc, occupies:background, user:owns, etc.) in
a single text field.

Changes:
- Search form now uses single `q` text param instead of `q[name]`
- Controller uses Item::Search::Query.from_text instead of from_params
- Auto-fit filter applied via .merge(Item.fits(body_id)) in controller
- Added error handling for Item::Search::Error
- Updated pagination param from `q[page]` to `page`
- Removed build_search_filters method (no longer needed)
- Fixed outfit_state_params helper to handle q as string

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 21:07:54 -08:00
..
appearance [WV2] Stabilize IDs for pose picker outfit viewers 2026-02-06 19:27:22 -08:00
header [WV2] Reorganize partials into subdirectories 2026-02-06 08:11:19 -08:00
items [WV2] Switch search to text-based filter syntax 2026-02-15 21:07:54 -08:00
show.html.haml [WV2] Switch search to text-based filter syntax 2026-02-15 21:07:54 -08:00