summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 61595a624..00faab64d 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3084,7 +3084,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter, MainItem):
@property
def profiles_list(self):
- return ", ".join(str(p) for p in self.profiles.all())
+ return ", ".join(set([str(p.profile_type) for p in self.profiles.all()]))
def generate_merge_key(self):
if self.name and self.name.strip():