summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-22 12:26:10 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-24 19:41:37 +0200
commitcd049d6aada6e0884bb12d5ce56c6bb48168a2fe (patch)
treec48265066801499d2ae7448c3193e7549ea1c990
parent80d8944382a5213dce25cc03c8879b77ee67ba56 (diff)
downloadIshtar-cd049d6aada6e0884bb12d5ce56c6bb48168a2fe.tar.bz2
Ishtar-cd049d6aada6e0884bb12d5ce56c6bb48168a2fe.zip
Geo: fix point update when polygon is from multi-polygon source
-rw-r--r--ishtar_common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py
index 8608cccf2..49730b496 100644
--- a/ishtar_common/utils.py
+++ b/ishtar_common/utils.py
@@ -545,7 +545,7 @@ def post_save_geo(sender, **kwargs):
if (instance.point_source_item and
instance.point_source_item != current_source) or (
- instance.point_source == 'M' and modified): # refetch
+ instance.point_source == 'M'): # refetch
csrs = instance.spatial_reference_system
if instance.x and instance.y: