fds
This commit is contained in:
parent
081a01f1b5
commit
5f734cacf2
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,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(50 * (page - 1)).limit(100).all())
|
||||
).order_by(Comment.top_comment_id.desc()).limit(50 + 50*page).all())
|
||||
|
||||
comments = g.db.query(Comment).join(Notification).distinct(Comment.top_comment_id).filter(
|
||||
Notification.user_id == v.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue