Merge pull request #2913 from AndrewKvalheim/schedule-alphabetize-rooms

Order rooms by name in the schedule
This commit is contained in:
Henne Vogelsang 2022-02-07 13:16:06 +01:00 committed by GitHub
commit 4a168366c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ class SchedulesController < ApplicationController
end
format.html do
@rooms = @conference.venue.rooms if @conference.venue
@rooms = @conference.venue.rooms.order(:name) if @conference.venue
@dates = @conference.start_date..@conference.end_date
@step_minutes = @program.schedule_interval.minutes
@conf_start = @conference.start_hour