From 148bc94e4dd484eeb0658460beb25ab91d64486c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 6 Dec 2021 18:26:56 +0200 Subject: [PATCH] fdsfds --- 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 99d4f38a0..76ea5272a 100644 --- a/files/routes/search.py +++ b/files/routes/search.py @@ -196,7 +196,7 @@ def searchcomments(v): if 'q' in criteria: words=criteria['q'].split() - words=[Comment.body.ilike('%'+x+'%') for x in words] + words=[Comment.body_html.ilike('%'+x+'%') for x in words] words=tuple(words) comments=comments.filter(*words)