diff --git a/files/routes/front.py b/files/routes/front.py index be4d913a0..3be1d0905 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -147,6 +147,9 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' posts = posts.options(load_only(Post.id)).offset(size * (page - 1)) if SITE_NAME == 'WPD' and sort == "hot" and hole == None: + if page == 1: + posts = posts.filter(Post.hole != 'pets') + posts = posts.limit(200).all() posts_in_limited_holes = [x for x in posts if x.hole in LIMITED_WPD_HOLES] captured_holes = set()