From 60f14e9c6929cf51c80fd2b3d21465d158dd189d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 8 Feb 2022 15:49:42 +0200 Subject: [PATCH] vc --- 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 2dd593b8a..38feab2ba 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -286,7 +286,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, ccmode="false" posts = posts.filter_by(is_banned=False, private=False, deleted_utc = 0) - if sort == "hot" or (v and v.id == Q_ID) and ccmode == "false" and not gt and not lt: + if (sort == "hot" or (v and v.id == Q_ID)) and ccmode == "false" and not gt and not lt: posts = posts.filter_by(stickied=None) if v and v.admin_level == 0: