This commit is contained in:
Aevann1 2022-04-04 20:32:03 +02:00
parent 666c0723a8
commit 42dce924ef

View file

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