summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-09-27 17:13:44 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-09-27 17:18:20 +0200
commit69b20d50aed1e20cb3a76652fac671efea4e3991 (patch)
tree6036ccfb226f94417ebc292c7d6cfe445cf4fdd4 /ishtar_common/models.py
parentccac2c5da06d2cf6cc0c7c9aee56cbb4cda9a319 (diff)
downloadIshtar-69b20d50aed1e20cb3a76652fac671efea4e3991.tar.bz2
Ishtar-69b20d50aed1e20cb3a76652fac671efea4e3991.zip
Merge page - add more fields on table (refs #5447)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 470ea4e72..366c467c8 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2412,10 +2412,6 @@ class Organization(Address, Merge, OwnPerms, BaseGenderedType, ValueGetter, Main
self.merge_key = slugify(self.name or "")
if not self.merge_key:
self.merge_key = self.EMPTY_MERGE_KEY
- if self.town:
- self.merge_key += "-" + slugify(self.town or "")
- if self.address:
- self.merge_key += "-" + slugify(self.address or "")
@property
def associated_filename(self):