double viewmore threshold

master
Aevann1 2022-06-23 02:37:03 +02:00
parent aebd5908f4
commit c5dffd3368
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def post_id(pid, anything=None, v=None, sub=None):
comments2.append(comment)
ids.add(comment.id)
count += g.db.query(Comment).filter_by(parent_submission=post.id, top_comment_id=comment.id).count() + 1
if count > 50: break
if count > 100: break
else:
for comment in comments:
comments2.append(comment)