Sort events by time
This commit is contained in:
parent
611277ef67
commit
4babd84439
2 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class Program < ApplicationRecord
|
|||
end
|
||||
|
||||
def with_registration_open
|
||||
select { |e| e if e.registration_possible? }
|
||||
select { |e| e if e.registration_possible? }.sort
|
||||
end
|
||||
|
||||
# All confirmed events of the conference with attribute require_registration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue