From 5111eb7ca4d4853bba291de2eb82585ddb504f6c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 7 Nov 2022 03:18:54 +0200 Subject: [PATCH] exclude /h/changelog from hole filter --- 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 83d2be347b..89f437857c 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -125,7 +125,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' else: posts = posts.filter_by(stickied=None) if not sub and not holes: - posts = posts.filter_by(sub=None) + posts = posts.filter(or_(Submission.sub == None, Submission.sub == 'changelog')) if v: posts = posts.filter(Submission.author_id.notin_(v.userblocks))