keyword update, tests sqlite and PG

This commit is contained in:
smilerz
2021-07-30 14:00:09 -05:00
parent 2f91c2f86e
commit 2da0f5c478
26 changed files with 245 additions and 277 deletions

View File

@@ -117,7 +117,7 @@ def search_recipes(request, queryset, params):
)
queryset = queryset.filter(query_filter).annotate(rank=search_rank)
else:
queryset = queryset.filter(name__icontains=search_string)
queryset = queryset.filter(query_filter)
if len(search_keywords) > 0:
if search_keywords_or == 'true':