remotes/1693045480750635534/spooky-22
Aevann1 2021-12-11 07:02:58 +02:00
parent 48d5e9bc65
commit 54bbd88211
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
elif sort == "comments":
posts = posts.order_by(Submission.comment_count.desc())
if v: size = int(v.frontsize)
if v: size = v.frontsize or 0
else: size = 25
posts = posts.offset(size * (page - 1)).limit(size+1).all()