Removing nickname from individual's labels
This commit is contained in:
1 parent
a997e54891
commit
8885969a07
1 file changed
+2
-2
@@ -28,8 +28,8 @@ class Individual(EntityType):
|
||||
|
||||
@property
|
||||
def label(self) -> str:
|
||||
if len(self.surnames) > 0:
|
||||
return '{} "{}" {}'.format(self.firstname, self.surnames[0], self.lastname)
|
||||
# if len(self.surnames) > 0:
|
||||
# return '{} "{}" {}'.format(self.firstname, self.surnames[0], self.lastname)
|
||||
|
||||
return '{} {}'.format(self.firstname, self.lastname)
|
||||
|
||||
|
||||
Reference in new issue
Block a user