Permalink
Browse files

Sort by date *ascending* on unpublished page.

  • Loading branch information...
spladug committed May 10, 2012
1 parent 231fd98 commit 6e670863bd407380eb89cd51f076a2e52956a22b
Showing with 1 addition and 1 deletion.
  1. +1 −1 postcards/views.py
View
@@ -103,7 +103,7 @@ def unpublished():
base_query = (Postcard.query.filter(Postcard.deleted == False)
.filter(Postcard.published == False)
.options(db.subqueryload('tags'))
- .order_by(db.desc(Postcard.date)))
+ .order_by(db.asc(Postcard.date)))
pagination = build_pagination(base_query)
# patch in larger thumbnails

0 comments on commit 6e67086

Please sign in to comment.