fds
This commit is contained in:
parent
980fc48a30
commit
98494c4fe1
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def notifications(v):
|
|||
Comment.deleted_utc == 0,
|
||||
Comment.author_id != AUTOJANNY_ID,
|
||||
Comment.body_html.notlike('<html><body><p>New rdrama mention: <a href="https://old.reddit.com/r/%')
|
||||
).order_by(Comment.top_comment_id.desc()).offset(25 * (page - 1)).limit(26).all()
|
||||
).order_by(Comment.top_comment_id.desc(), Comment.id.desc()).offset(25 * (page - 1)).limit(26).all()
|
||||
|
||||
next_exists = (len(comments) > 25)
|
||||
comments = comments[:25]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue