Permalink
Browse files

Sort by ID :(

  • Loading branch information...
1 parent 1191a72 commit 3d77baad2f7809f093c0472cde202da569d0128c @spladug spladug committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 postcards/lib/utils.py
View
@@ -126,7 +126,7 @@ def generate_jsonp():
dimensions = dict(small=(215, 215),
full=(800, 800))
- query = Postcard.query.filter_by(published=True, deleted=False).order_by(db.asc(Postcard.date))
+ query = Postcard.query.filter_by(published=True, deleted=False).order_by(db.asc(Postcard.id))
all_postcards = []
for postcard in query:
# make sure the images are in place

0 comments on commit 3d77baa

Please sign in to comment.