Merge pull request #8815 from demarches-simplifiees/fix/8801
FIX - Garde les tags dans les params lors de la pagination
This commit is contained in:
commit
04b17e8299
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
- if @filter.from_publication_date.present?
|
||||
.selected-from-publication-date.fr-mb-2w
|
||||
= link_to "Depuis #{l(@filter.from_publication_date)}", all_admin_procedures_path(@filter.without(:from_publication_date)), class: 'fr-tag fr-tag--dismiss fr-mb-1w'
|
||||
= paginate @procedures, views_prefix: 'administrateurs'
|
||||
= paginate @procedures, params: @filter.params, views_prefix: 'administrateurs'
|
||||
%thead
|
||||
%tr
|
||||
%th{ scope: 'col' }
|
||||
|
@ -52,4 +52,4 @@
|
|||
%tbody{ 'data-turbo': 'true' }
|
||||
- @procedures.each do |procedure|
|
||||
= render partial: 'detail', locals: { procedure: procedure, show_detail: false }
|
||||
.fr-mt-2w= paginate @procedures, views_prefix: 'administrateurs'
|
||||
.fr-mt-2w= paginate @procedures, params: @filter.params, views_prefix: 'administrateurs'
|
||||
|
|
Loading…
Reference in a new issue