Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sort by ID :(

  • Loading branch information...
commit 3d77baad2f7809f093c0472cde202da569d0128c 1 parent 1191a72
Neil Williams authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  postcards/lib/utils.py
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.