Fix useless if statement
This commit is contained in:
parent
36988769df
commit
6dd0674aae
|
@ -125,10 +125,7 @@ def drilldown_search(request, return_context=False, template=None):
|
|||
query_params["to_time"] = dates["to_time"]
|
||||
|
||||
if "query" in query_params:
|
||||
if request.GET:
|
||||
context = query_results(request, query_params)
|
||||
elif request.POST:
|
||||
context = query_results(request, query_params)
|
||||
context = query_results(request, query_params)
|
||||
else:
|
||||
context = {"object_list": []}
|
||||
|
||||
|
|
Loading…
Reference in New Issue