diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-03-15 17:05:43 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | 6803fa0cb2d70eb90591ec318d9733ddea387315 (patch) | |
tree | 1e48546125087a3b16ff9afcae784461d7f51a97 /ishtar_common/utils.py | |
parent | e426f8ef82dfa1f2c976fb08edec7014dc682bb9 (diff) | |
download | Ishtar-6803fa0cb2d70eb90591ec318d9733ddea387315.tar.bz2 Ishtar-6803fa0cb2d70eb90591ec318d9733ddea387315.zip |
Geodata: fix search display
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r-- | ishtar_common/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index 88c9129a3..89700eaad 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -776,11 +776,11 @@ def _post_save_geodata(sender, **kwargs): # managed cached coordinates cached_x, cached_y, cached_z = None, None, None - coords = instance.display_coordinates(rounded=False, dim=3, cache=False) + coords = instance.display_coordinates(rounded=False, dim=3, srid=4326, cache=False) if coords and coords != [None, None, None]: cached_x, cached_y, cached_z = coords else: - coords = instance.display_coordinates(rounded=False, dim=2, cache=False) + coords = instance.display_coordinates(rounded=False, dim=2, srid=4326, cache=False) if coords: cached_x, cached_y = coords |