Removing nickname from individual's labels

This commit is contained in:
2023-03-19 13:54:38 +01:00
parent a997e54891
commit 8885969a07

View File

@@ -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)