fix order of events
This commit is contained in:
parent
b19070cfd2
commit
360d2ce4f2
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module EventsHelper
|
|||
end
|
||||
|
||||
def academic_years_event_items
|
||||
items.find_all('/events/*').map { |e| [e[:academic_year], e] }.sort_by(&:first)
|
||||
items.find_all('/events/*').map { |e| [e[:academic_year], e] }.sort_by(&:first).reverse
|
||||
end
|
||||
|
||||
def grouped_events
|
||||
|
|
Loading…
Reference in a new issue