From 5b312459d0903b48a02834f9bc5e6ac9a94e40c7 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 22 Jul 2020 17:49:54 -0700 Subject: [PATCH] sort happening at the same time events by room order --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 78dbc652..3b41e50c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -112,7 +112,7 @@ module ApplicationHelper concurrent_events << other_event_schedule.event end end - concurrent_events + concurrent_events.sort_by { |event_schedule| event_schedule.room&.order } end def speaker_links(event)