Full-text search using postgresql #162
@ -112,7 +112,7 @@ class SearchView(ListedExtensionsView):
|
|||||||
|
|
||||||
# WARNING: full-text search support only on postgres
|
# WARNING: full-text search support only on postgres
|
||||||
# using DEBUG as a shortcut for checking if we run on postgres vs sqlite
|
# using DEBUG as a shortcut for checking if we run on postgres vs sqlite
|
||||||
if settings.DEBUG and 0:
|
if settings.DEBUG:
|
||||||
filter = Q()
|
filter = Q()
|
||||||
for token in search_query.split():
|
for token in search_query.split():
|
||||||
filter &= (
|
filter &= (
|
||||||
|
Loading…
Reference in New Issue
Block a user