Fix #5431 - Typo in models

Fix a typo in models.py.
This commit is contained in:
Andrew Browning 2016-03-01 00:27:50 -05:00
parent 7555d1084f
commit d508435985

View File

@ -607,7 +607,7 @@ class MediaEntry(Base, MediaEntryMixin, CommentingMixin):
if ascending: if ascending:
query = query.order_by(Comment.added.asc()) query = query.order_by(Comment.added.asc())
else: else:
qury = query.order_by(Comment.added.desc()) query = query.order_by(Comment.added.desc())
return FakeCursor(query, lambda c:c.comment()) return FakeCursor(query, lambda c:c.comment())