diff options
Diffstat (limited to 'ishtar_common/views_api.py')
| -rw-r--r-- | ishtar_common/views_api.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/views_api.py b/ishtar_common/views_api.py index fe301b04d..6c0f8107b 100644 --- a/ishtar_common/views_api.py +++ b/ishtar_common/views_api.py @@ -107,6 +107,7 @@ class GISExportAPI(GISBaseImportView, GISAPIView):              dct["start"] = (page - 1) * self.PAGE_LEN + 1          try:              importer_class = importer.get_importer_class() +            import_key = importer.get_gis_import_key()              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, @@ -114,6 +115,7 @@ class GISExportAPI(GISBaseImportView, GISAPIView):                  request, data_type="json", full=False, force_own=False,                  no_link=True, col_names=col_names,                  col_types=importer.get_columns_types(), +                geo_import_key=import_key,                  **dct              )          except ImporterError as e:  | 
