From 796da739883491ff97d64730ef5bed3a62dae44b Mon Sep 17 00:00:00 2001 From: Cameron Lamb Date: Mon, 16 Dec 2024 16:49:48 +0000 Subject: [PATCH] Fix csv building --- src/search/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/views.py b/src/search/views.py index 303482bc6..a69438c9d 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -191,7 +191,7 @@ def export_search(request: HttpRequest, category: str) -> HttpResponse: }, } export_mapping = None - for k, v in SEARCH_EXPORT_MAPPINGS: + for k, v in SEARCH_EXPORT_MAPPINGS.items(): if issubclass(search_model, k): export_mapping = v