mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Sort packages in approval queue by creation date
This commit is contained in:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user