From 16316ec88fbd52014ca41e307507f0ea83d41aa3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 20:32:03 +0200 Subject: [PATCH] fds --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index b6db38e8a..e246385ad 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -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,