Skip to content

Commit 725a13a

Browse files
committed
Remove extra code
1 parent b4a296b commit 725a13a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

haystack/backends/elasticsearch_backend.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ def build_search_kwargs(self, query_string, sort_by=None, start_offset=0, end_of
398398
model_choices = []
399399

400400
if len(model_choices) > 0:
401-
if narrow_queries is None:
402-
narrow_queries = set()
403-
404401
filters.append({"terms": {DJANGO_CT: model_choices}})
405402

406403
for q in narrow_queries:

0 commit comments

Comments
 (0)