From 145017ccfd16ead6baec8bec66af9ba0ec35ca9c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 15 Dec 2025 17:40:05 +0100 Subject: ✨ GIS API: filter export by geo data type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/views_api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common/views_api.py') diff --git a/ishtar_common/views_api.py b/ishtar_common/views_api.py index fed1dc14e..d6d4a602f 100644 --- a/ishtar_common/views_api.py +++ b/ishtar_common/views_api.py @@ -118,6 +118,7 @@ class GISExportAPI(GISBaseImportView, GISAPIView): try: importer_class = importer.get_importer_class() import_key = importer.get_gis_import_key() + geo_type = importer.gis_type.txt_idx cols, col_names = importer.get_columns(importer_class=importer_class) obj_name = importer_class.OBJECT_CLS.__name__.lower() return get_item(importer_class.OBJECT_CLS, "get_" + obj_name, obj_name, @@ -126,6 +127,7 @@ class GISExportAPI(GISBaseImportView, GISAPIView): no_link=True, col_names=col_names, col_types=importer.get_columns_types(), geo_import_key=import_key, + geo_type=geo_type, **dct ) except ImporterError as e: -- cgit v1.2.3