forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-02-08 00:10:59 +02:00
parent ec737dc9db
commit 00d90ecf2e
1 changed files with 1 additions and 1 deletions

View File

@ -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))