[WV2] Simplify item search pagination

I'll want to do it smarter than this, but for now, just getting rid of the page links altogether seems best
This commit is contained in:
Emi Matchu 2025-11-26 16:58:38 -08:00
parent 6eace54c34
commit 7459037c8a

View file

@ -5,7 +5,7 @@
= outfit_state_params except: [:q] = outfit_state_params except: [:q]
- if @search_results.any? - if @search_results.any?
= will_paginate @search_results, param_name: "q[page]", params: { q: params[:q], species: @outfit.species_id, color: @outfit.color_id, objects: params[:objects] } = will_paginate @search_results, page_links: false, param_name: "q[page]", params: { q: params[:q], species: @outfit.species_id, color: @outfit.color_id, objects: params[:objects] }
%ul.search-results-list %ul.search-results-list
- @search_results.each do |item| - @search_results.each do |item|