mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
All events grouped by date and time
The events are ordered by date and time in the all events section of the schedule. The event schdule definition in program has been changed to order the events.
This commit is contained in:
parent
7a95c43a57
commit
69043e1549
6 changed files with 97 additions and 20 deletions
|
|
@ -27,7 +27,7 @@ class Program < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def scheduled
|
||||
where.not(start_time: nil).where.not(room: nil)
|
||||
where.not(start_time: nil).where.not(room: nil).order(start_time: :asc)
|
||||
end
|
||||
|
||||
def highlights
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue