1
0
Fork 0

search: Use simple tsvector config

This should fix some invisible items for now...
This commit is contained in:
Piotr Dobrowolski 2017-12-13 20:45:48 +01:00
parent ce0b081ba6
commit 0fa55f7bd1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def apply_smart_search(query, objects):
if general_term:
objects = objects.annotate(
search=SearchVector('name', 'description', 'props'),
search=SearchVector('name', 'description', 'props', config='simple'),
)
filters['search'] = ' '.join(general_term)