diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-09 12:59:31 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-09 12:59:31 +0200 |
commit | 1b47bd5efbae67bfb64c2c70143c856f856d186b (patch) | |
tree | e51117da4f70010e9b51e2f43f6884a5646ca2fd /ishtar_common/models.py | |
parent | b5a676684f3a4b85682934a6c1c251559131be28 (diff) | |
download | Ishtar-1b47bd5efbae67bfb64c2c70143c856f856d186b.tar.bz2 Ishtar-1b47bd5efbae67bfb64c2c70143c856f856d186b.zip |
🐛 account search tables: display profile type instead of profile name (refs #5618)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
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(): |