Skip to content

Commit

Permalink
Also sort film/music/attendee events
Browse files Browse the repository at this point in the history
Otherwise they end up in the order they were in the schedule, which is just
sorted by ID, so isn't very helpful, since it isn't chronological or by name.
  • Loading branch information
lukegb authored and russss committed Jan 27, 2024
1 parent 86a0b31 commit 7e84dcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/schedule/historic.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ def sort_key(event):
stage_events.sort(key=sort_key)
workshop_events.sort(key=sort_key)
youth_events.sort(key=sort_key)
film_events.sort(key=sort_key)
music_events.sort(key=sort_key)
performance_events.sort(key=sort_key)
attendee_events.sort(key=sort_key)

venues = [
{"name": "Main Stages", "events": stage_events},
Expand Down

0 comments on commit 7e84dcb

Please sign in to comment.