diff --git a/app/controllers/decidim/assemblies/assemblies_controller.rb b/app/controllers/decidim/assemblies/assemblies_controller.rb index c3ce066d..6c268ce2 100644 --- a/app/controllers/decidim/assemblies/assemblies_controller.rb +++ b/app/controllers/decidim/assemblies/assemblies_controller.rb @@ -88,7 +88,7 @@ def assembly_participatory_processes assembly_participatory_processes = @current_participatory_space.linked_participatory_space_resources(:participatory_processes, "included_participatory_processes") sorted_by_date = { - active: assembly_participatory_processes.active_spaces.sort_by(&:end_date).reverse, + active: assembly_participatory_processes.active_spaces.sort_by(&:end_date), future: assembly_participatory_processes.future_spaces.sort_by(&:start_date), past: assembly_participatory_processes.past_spaces.sort_by(&:end_date).reverse }