master
Aevann1 2022-04-04 02:20:24 +02:00
parent 305368681d
commit 5ff51db7d4
1 changed files with 1 additions and 1 deletions

View File

@ -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]