diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-29 00:08:22 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-29 00:08:22 +0100 |
commit | 999eefae2632bb01a968d088ccd6406f7b0bc896 (patch) | |
tree | aab855539a05f8b9c3dec8df43a7bd01b1adbed4 /ishtar_common/models.py | |
parent | 30463969536705fda601c762ca459b4e51fbb3c5 (diff) | |
download | Ishtar-999eefae2632bb01a968d088ccd6406f7b0bc896.tar.bz2 Ishtar-999eefae2632bb01a968d088ccd6406f7b0bc896.zip |
Fix display of operations - fix bibracte import of operations
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ab558ce75..af43f28e9 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1132,6 +1132,8 @@ class Person(Address, Merge, OwnPerms, ValueGetter) : values += [unicode(getattr(self, attr)) for attr in ('surname', 'name') if getattr(self, attr)] + if not values and self.raw_name: + values = [self.raw_name] if self.attached_to: values.append(u"- " + unicode(self.attached_to)) return u" ".join(values) |