diff --git a/app/controllers/new_gestionnaire/procedures_controller.rb b/app/controllers/new_gestionnaire/procedures_controller.rb index dfe750eb2..56d2fee29 100644 --- a/app/controllers/new_gestionnaire/procedures_controller.rb +++ b/app/controllers/new_gestionnaire/procedures_controller.rb @@ -5,7 +5,7 @@ module NewGestionnaire before_action :ensure_ownership!, except: [:index] def index - @procedures = current_gestionnaire.procedures + @procedures = current_gestionnaire.procedures.order(archived_at: :desc, published_at: :desc) dossiers = current_gestionnaire.dossiers.state_not_brouillon @dossiers_count_per_procedure = dossiers.all_state.group(:procedure_id).reorder(nil).count