From 225c1592203faf5d50d372ee3a08775a916a5524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Illi-Zuberb=C3=BChler?= Date: Tue, 15 Oct 2024 10:02:53 +0200 Subject: [PATCH] Revert "Remove superfluous order statement, the relation is already ordered" This reverts commit cc93a19e32371cdd0cb90e037ba4a7d110d40859. --- app/controllers/youth/event/lists_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/youth/event/lists_controller.rb b/app/controllers/youth/event/lists_controller.rb index 2a8bb03..4eb12f3 100644 --- a/app/controllers/youth/event/lists_controller.rb +++ b/app/controllers/youth/event/lists_controller.rb @@ -54,6 +54,7 @@ def courses_for_bsv_export course_filters .to_scope .includes(participations: [:roles, person: :location]) + .order("start_at") end def dates_from_to