search: Use simple tsvector config

This should fix some invisible items for now...
d42/ebin
informatic 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)