diff options
-rw-r--r-- | CHANGES.md | 11 | ||||
-rw-r--r-- | ishtar_common/models_common.py | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/CHANGES.md b/CHANGES.md index ec1e95b4d..ebd5a1993 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,17 @@ date: 2022-08-05 Ishtar changelog ================ +v4.0.14 - 2022-08-05 +-------------------- + +### Features ### + +- Import: manage CSV geo data + +### Bug fix ### + +- Geo sheet: fix display coordinates + v4.0.13 - 2022-08-05 -------------------- diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index c88c71c35..d6d9fb4ae 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2331,10 +2331,10 @@ class GeoVectorData(Imported, OwnPerms): @property def display_spatial_reference_system(self): - profile = get_current_profile() - if not profile.display_srs or not profile.display_srs.srid: + if self.spatial_reference_system: return self.spatial_reference_system - return profile.display_srs + profile = get_current_profile() + return profile.srs def get_geo_items(self, get_polygons, rounded=5): label = self.label if hasattr(self, "label") else self.short_label |