fix in name object and quickview for names

svn: r16020
This commit is contained in:
Benny Malengier
2010-10-20 20:26:23 +00:00
parent a3556d839b
commit 920535e3f6
3 changed files with 3 additions and 4 deletions

View File

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

View File

@@ -228,4 +228,3 @@ class SurnameBase(object):
conn = surn.get_connector()
if conn:
connl.append(conn)