From 1c7c4c8be6e61bf30e4aac0a30c3f0e907178b7c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 15 Oct 2021 19:22:15 +0200 Subject: [PATCH] fdsfsd --- 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 dca8c6b6dc..a299eadbbd 100755 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -222,7 +222,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' blocked = [x[0] for x in g.db.query(UserBlock.user_id).filter_by(target_id=v.id).all()] pins = pins.filter(Submission.author_id.notin_(blocking), Submission.author_id.notin_(blocked)) - if page == 1: posts = pins.all() + posts + if page == 1 and not gt and not lt: posts = pins.all() + posts if ids_only: posts = [x[0] for x in posts]