[Fix #1374] Add missing parameter
Dossier pagination was only working for dossiers en construction.
This commit is contained in:
parent
0ce26055d8
commit
c15e1a6942
1 changed files with 4 additions and 0 deletions
|
@ -115,18 +115,22 @@ class ApplicationController < ActionController::Base
|
|||
# https://github.com/Sology/smart_listing/issues/134
|
||||
# is fixed
|
||||
self.params = params.permit(
|
||||
# Dossiers
|
||||
:liste,
|
||||
dossiers_smart_listing:
|
||||
[
|
||||
:page,
|
||||
:per_page,
|
||||
{ sort: [:id, :'procedure.libelle', :state, :updated_at] }
|
||||
],
|
||||
# Gestionnaires
|
||||
gestionnaires_smart_listing:
|
||||
[
|
||||
:page,
|
||||
:per_page,
|
||||
{ sort: [:email] }
|
||||
],
|
||||
# Procédures
|
||||
procedures_smart_listing:
|
||||
[
|
||||
:page,
|
||||
|
|
Loading…
Reference in a new issue