forked from MarseyWorld/MarseyWorld
double "view more" button threshold
parent
8f2c2885d2
commit
175b63c02c
|
@ -322,7 +322,7 @@ def viewmore(v, pid, sort, offset):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue