Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed ordering of event dates.

  • Loading branch information...
commit 679158b90d4e75c7eed7ee7f16c01630076df99c 1 parent 0732d4a
Ethan Holda authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  controllers/calendar.py
3  controllers/calendar.py
View
@@ -46,7 +46,8 @@ def getCalendar(self, year, month):
def getEvents(self, start, end):
events = self.orm.query(models.Event).filter(and_(models.Event.start_datetime > start,
- models.Event.start_datetime < end))
+ models.Event.start_datetime < end)).\
+ order_by("start_datetime")
return events
def getCurrentYearMonth(self):
Please sign in to comment.
Something went wrong with that request. Please try again.