[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
|
# https://github.com/Sology/smart_listing/issues/134
|
||||||
# is fixed
|
# is fixed
|
||||||
self.params = params.permit(
|
self.params = params.permit(
|
||||||
|
# Dossiers
|
||||||
|
:liste,
|
||||||
dossiers_smart_listing:
|
dossiers_smart_listing:
|
||||||
[
|
[
|
||||||
:page,
|
:page,
|
||||||
:per_page,
|
:per_page,
|
||||||
{ sort: [:id, :'procedure.libelle', :state, :updated_at] }
|
{ sort: [:id, :'procedure.libelle', :state, :updated_at] }
|
||||||
],
|
],
|
||||||
|
# Gestionnaires
|
||||||
gestionnaires_smart_listing:
|
gestionnaires_smart_listing:
|
||||||
[
|
[
|
||||||
:page,
|
:page,
|
||||||
:per_page,
|
:per_page,
|
||||||
{ sort: [:email] }
|
{ sort: [:email] }
|
||||||
],
|
],
|
||||||
|
# Procédures
|
||||||
procedures_smart_listing:
|
procedures_smart_listing:
|
||||||
[
|
[
|
||||||
:page,
|
:page,
|
||||||
|
|
Loading…
Add table
Reference in a new issue