Skip to content

Commit

Permalink
Fixes CSV download
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarnes committed Oct 16, 2024
1 parent ec9f416 commit e878cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orp/orp_search/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def document(request: HttpRequest, id) -> HttpResponse:

@require_http_methods(["GET"])
def download_search_csv(request: HttpRequest) -> HttpResponse:
search_terms = request.GET.get("query", "")
search_terms = request.GET.get("search", "")
document_type_terms = request.GET.get("document_type", "")
publisher_terms = request.GET.getlist("publisher", None)
sort_by = request.GET.get("sort", None)
Expand Down

0 comments on commit e878cd6

Please sign in to comment.