remotes/1693045480750635534/spooky-22
Aevann1 2021-09-25 01:39:30 +02:00
parent a261bf3d16
commit 2e97bff1b0
1 changed files with 2 additions and 2 deletions

View File

@ -141,10 +141,10 @@ def searchposts(v):
elif sort == "comments":
posts = posts.order_by(Submission.comment_count.desc())
posts = posts.offset(25 * (page - 1)).limit(26).all()
total = len(posts)
posts = posts.offset(25 * (page - 1)).limit(26).all()
ids = [x[0] for x in posts]