Merge branch 'master' into mistletoe

remotes/1693045480750635534/spooky-22
kek7198 2021-12-06 11:14:48 -06:00
commit a50106ed7e
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)