[Fix #1374] Add missing parameter

Dossier pagination was only working for dossiers en construction.
This commit is contained in:
Frederic Merizen 2018-01-30 14:45:05 +01:00
parent 0ce26055d8
commit c15e1a6942

View file

@ -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,