From 68c00427ae1febefc7600a311c8949e317bc3044 Mon Sep 17 00:00:00 2001 From: Daniel Illi Date: Tue, 17 Sep 2024 11:24:01 +0200 Subject: [PATCH] Remove superfluous order statement, the relation is already ordered --- app/controllers/youth/event/lists_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/youth/event/lists_controller.rb b/app/controllers/youth/event/lists_controller.rb index 4eb12f3..2a8bb03 100644 --- a/app/controllers/youth/event/lists_controller.rb +++ b/app/controllers/youth/event/lists_controller.rb @@ -54,7 +54,6 @@ def courses_for_bsv_export course_filters .to_scope .includes(participations: [:roles, person: :location]) - .order("start_at") end def dates_from_to