[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:
parent
6eace54c34
commit
7459037c8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue