Fix source parsing and set default to all
This commit is contained in:
@@ -548,7 +548,7 @@ class ElasticsearchBackend(StorageBackend):
|
||||
add_top_tmp["bool"]["should"].append(
|
||||
{"match_phrase": {"src": source_iter}}
|
||||
)
|
||||
if rule_object is not None and query_params["source"] != "all":
|
||||
if query_params["source"] != "all":
|
||||
add_top.append(add_top_tmp)
|
||||
|
||||
# R - Ranges
|
||||
|
||||
Reference in New Issue
Block a user