remotes/1693045480750635534/spooky-22
Aevann1 2021-09-23 23:56:41 +02:00
parent 44ea791b5e
commit 0d2ececbae
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,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 sort != "hot": posts = posts.offset(25 * (page - 1)).limit(26).all()
posts = posts.offset(25 * (page - 1)).limit(26).all()
next_exists = (len(posts) > 25)