Skip to content

Commit

Permalink
fixes bug in declaring response_object dict, re #10804
Browse files Browse the repository at this point in the history
  • Loading branch information
whatisgalen committed Apr 19, 2024
1 parent d034f04 commit 3f79e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def search_results(request, returnDsl=False):
if returnDsl:
return search_results_object.pop("query", None)

ret = {"results": None}
ret = {"results": {}}

for filter_type, querystring in list(request.GET.items()) + [("search-results", "")]:
search_filter = search_filter_factory.get_filter(filter_type)
Expand Down

0 comments on commit 3f79e8f

Please sign in to comment.