forked from rDrama/rDrama
Merge branch 'master' into mistletoe
commit
a50106ed7e
|
@ -196,7 +196,7 @@ def searchcomments(v):
|
||||||
|
|
||||||
if 'q' in criteria:
|
if 'q' in criteria:
|
||||||
words=criteria['q'].split()
|
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)
|
words=tuple(words)
|
||||||
comments=comments.filter(*words)
|
comments=comments.filter(*words)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue