From b644c478228c11e0ecb6612faac49c63325b17c1 Mon Sep 17 00:00:00 2001 From: Lit Kladov Date: Wed, 20 Oct 2021 00:56:45 +0300 Subject: [PATCH] carp where's my fucking cat --- files/routes/front.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index f66057a5fd..9611fc7fd3 100755 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -204,8 +204,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words=' posts = posts.order_by(Submission.comment_count.desc()) if v: - if v.agendaposter: size = 5 - else: size = v.frontsize + size = v.frontsize else: size = 25 posts = posts.offset(size * (page - 1)).limit(size+1).all()