From 0d2ececbae981d89e409d59a479f19916292150f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Sep 2021 23:56:41 +0200 Subject: [PATCH] fsd --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 8453cfd791..18111f86b3 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -187,7 +187,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' elif sort == "comments": posts = posts.order_by(Submission.comment_count.desc()) - if sort != "hot": posts = posts.offset(25 * (page - 1)).limit(26).all() + posts = posts.offset(25 * (page - 1)).limit(26).all() next_exists = (len(posts) > 25)