forked from rDrama/rDrama
fds
parent
1ef60af223
commit
16316ec88f
|
@ -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…
Reference in New Issue