master
Aevann1 2021-12-06 18:26:56 +02:00
parent d62b138439
commit 148bc94e4d
1 changed files with 1 additions and 1 deletions

View File

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