From c8cb0756fc0c014ee807fcce8c310e831eb1a8e6 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 9 Nov 2024 19:35:46 +0200 Subject: [PATCH] order /grassed --- files/routes/users.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/users.py b/files/routes/users.py index 94a59a35f..87b587070 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -422,9 +422,8 @@ def grassed(v): users = g.db.query(User).filter( User.ban_reason.like('Grass award used by @%'), User.unban_utc > time.time(), - ) + ).order_by(User.unban_utc).all() - users = users.all() return render_template("grassed.html", v=v, users=users) @app.get("/chuds")