From 82a749e9e36036f96f28c97c93943dfb12131ca1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 04:01:06 +0200 Subject: [PATCH] sdf --- files/routes/front.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index 2dd80b416..743c87fdd 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -102,7 +102,7 @@ def notifications(v): g.db.add(c) g.db.commit() - sq = g.db.query(Comment.id).join(Notification).distinct(Comment.top_comment_id).filter( + sq = g.db.query(Comment.id, Notification.created_utc).join(Notification).distinct(Comment.top_comment_id).filter( Notification.user_id == v.id, Comment.is_banned == False, Comment.deleted_utc == 0, @@ -110,7 +110,7 @@ def notifications(v): Comment.body_html.notlike('

New rdrama mention: