From b78ccac09c32c756d9101b2c3fc5c4d4b66026e5 Mon Sep 17 00:00:00 2001 From: Galen Date: Tue, 19 Mar 2024 16:09:25 -0700 Subject: [PATCH] uses url reverse() to call appropriate search view if overriden in prj re #10699 --- arches/app/search/search_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arches/app/search/search_export.py b/arches/app/search/search_export.py index 23ac84cef3c..a49d3b28235 100644 --- a/arches/app/search/search_export.py +++ b/arches/app/search/search_export.py @@ -147,7 +147,7 @@ def order_cards(subcards_added=True): def export(self, format, report_link): ret = [] - search_res_json = SearchView.search_results(self.search_request) + search_res_json = search_res_json = reverse("search_results", self.search_request) if search_res_json.status_code == 500: return ret results = JSONDeserializer().deserialize(search_res_json.content)