fix in name object and quickview for names
svn: r16020
This commit is contained in:
@@ -266,7 +266,7 @@ class Name(SecondaryObject, PrivacyBase, SurnameBase, SourceBase, NoteBase,
|
||||
if self.group_as:
|
||||
return self.group_as
|
||||
else:
|
||||
return self.surname
|
||||
return self.get_primary_surname().get_surname()
|
||||
|
||||
def set_sort_as(self, value):
|
||||
"""
|
||||
|
||||
@@ -228,4 +228,3 @@ class SurnameBase(object):
|
||||
conn = surn.get_connector()
|
||||
if conn:
|
||||
connl.append(conn)
|
||||
|
||||
Reference in New Issue
Block a user