impress/app/views/wardrobe/items
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
..
badges [WV2] Add ownership and wishlist badges 2026-02-15 21:03:36 -08:00
_item_card.html.haml [WV2] Add zone badges to search results 2026-02-15 20:54:00 -08:00
_item_card_content.html.haml [WV2] Add ownership and wishlist badges 2026-02-15 21:03:36 -08:00
_search_results.html.haml [WV2] Switch search to text-based filter syntax 2026-02-15 21:07:54 -08:00