forked from wiktor/spejstore-new
search: Use simple tsvector config
This should fix some invisible items for now...
This commit is contained in:
parent
ce0b081ba6
commit
0fa55f7bd1
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue