From d25ad95795f05b11f8f1391fc573cbbf64cd7d8e Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 5 May 2023 07:17:41 +0300 Subject: [PATCH] make sure "usage" is highlighted when u go to /marseys --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index ae02a865d..fc5cac79f 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -55,7 +55,7 @@ def marseys(v:User): next_exists = marseys.count() - sort = request.values.get("sort") + sort = request.values.get("sort", "usage") if sort == "author": marseys = marseys.order_by(User.username, Emoji.count.desc()) elif sort == "name":