From 1bb1f60dda14a190693d391189401b9a3f1d346f Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Nov 2024 17:10:00 +0200 Subject: [PATCH] order by request date --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index f5eb84c32..eedacba57 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -443,7 +443,7 @@ def chuds(v): @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @auth_required def deletion_requests(v): - users = g.db.query(User, AccountDeletion).join(User.deletion) + users = g.db.query(User, AccountDeletion).join(User.deletion).order_by(AccountDeletion.created_utc) return render_template("deletion_requests.html", v=v, users=users) def all_upvoters_downvoters(v, username, vote_dir, is_who_simps_hates):