From 49513a6e1b8e2cd35368d76f7acd0d3da8bba706 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 25 Sep 2021 03:33:55 +0200 Subject: [PATCH] fsd --- files/routes/front.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/front.py b/files/routes/front.py index d70a442a20..d1d1af7f0d 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -218,6 +218,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' elif sort == "bottom": posts = posts.order_by(Submission.upvotes - Submission.downvotes) elif sort == "comments": + print("WTF") posts = posts.order_by(Submission.comment_count.desc()) posts = posts.offset(25 * (page - 1)).limit(26).all()