carp where's my fucking cat

remotes/1693045480750635534/spooky-22
Lit Kladov 2021-10-20 00:56:45 +03:00 committed by GitHub
parent 184a40ccc4
commit b644c47822
1 changed files with 1 additions and 2 deletions

View File

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