From 40b9e46979fa185cea4b079137e7918883c10395 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Sep 2021 01:49:29 +0200 Subject: [PATCH] fds --- files/routes/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/search.py b/files/routes/search.py index d2c2f13d08..58880fac27 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -210,7 +210,7 @@ def searchcomments(v): - comments = g.db.query(Comment).options(lazyload('*')).filter(Comment.parent_submission != None).join(Comment.comment_aux) + comments = g.db.query(Comment.id).options(lazyload('*')).filter(Comment.parent_submission != None).join(Comment.comment_aux) if 'q' in criteria: words=criteria['q'].split()