fds
This commit is contained in:
parent
666c0723a8
commit
42dce924ef
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def notifications(v):
|
|||
next_exists = (len(comments) > 25)
|
||||
comments = comments[:25]
|
||||
|
||||
all = g.db.query(Comment, Notification.created_utc).filter(
|
||||
all = g.db.query(Comment, Notification.created_utc).join(Notification).filter(
|
||||
Notification.user_id == v.id,
|
||||
Comment.is_banned == False,
|
||||
Comment.deleted_utc == 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue