Sort by "surname" instead of "group as" in flat person view

svn: r15686
This commit is contained in:
Nick Hall 2010-08-08 18:33:21 +00:00
parent c7d490f469
commit 3d19491f40

View File

@ -184,7 +184,7 @@ class PeopleBaseModel(object):
def sort_name(self, data):
n = Name()
n.unserialize(data[COLUMN_NAME])
return (n.get_group_name(), n.get_first_name())
return (n.get_surname(), n.get_first_name())
def column_name(self, data):
handle = data[0]