remotes/1693045480750635534/spooky-22
Aevann1 2021-12-05 04:38:15 +02:00
parent d44772da8e
commit d6fb2a307b
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ def post_id(pid, anything=None, v=None):
count = 0
for comment in comments:
comments2.append(comment)
count += g.db.query(Comment.id).filter_by(Comment.parent_submission == post.id, top_comment_id=comment.id).count() + 1
count += g.db.query(Comment.id).filter_by(parent_submission=post.id, top_comment_id=comment.id).count() + 1
offset += 1
if count > 10: break