From 00d90ecf2ef0b23357b552fc48220e24e7276eaf Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 8 Feb 2024 00:10:59 +0200 Subject: [PATCH] fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/2672750#context --- 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 cf8deb365..64227ef74 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -155,7 +155,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' if v: size = v.frontsize or 0 else: size = PAGE_SIZE - if SITE_NAME == 'WPD' and sort == "hot" and page == 1: + if SITE_NAME == 'WPD' and sort == "hot" and page == 1 and not hole: posts = posts.filter(Post.hole != 'pets') posts = posts.options(load_only(Post.id)).offset(size * (page - 1))