Sort packages in approval queue by creation date

This commit is contained in:
rubenwardy 2019-11-14 22:43:05 +00:00
parent b36a60d3a2
commit 913537f96f

@ -31,7 +31,7 @@ def todo_page():
packages = None
if canApproveNew:
packages = Package.query.filter_by(approved=False, soft_deleted=False).all()
packages = Package.query.filter_by(approved=False, soft_deleted=False).order_by(db.desc(Package.created_at)).all()
releases = None
if canApproveRel: