master
Aevann1 2021-09-25 01:41:09 +02:00
parent 2e97bff1b0
commit cfcc71ceed
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def searchposts(v):
elif sort == "comments":
posts = posts.order_by(Submission.comment_count.desc())
total = len(posts)
total = posts.count()
posts = posts.offset(25 * (page - 1)).limit(26).all()