Sort by "surname" instead of "group as" in flat person view
svn: r15687
This commit is contained in:
parent
8455278a83
commit
0fb8ef6da4
@ -183,7 +183,7 @@ class PeopleBaseModel(object):
|
|||||||
def sort_name(self, data):
|
def sort_name(self, data):
|
||||||
n = Name()
|
n = Name()
|
||||||
n.unserialize(data[COLUMN_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):
|
def column_name(self, data):
|
||||||
handle = data[0]
|
handle = data[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user