From 0c8510fab8cc7ce0519439d00baf235ccbeae12a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 12 Aug 2006 00:14:16 +0000 Subject: [PATCH] 2006-08-11 Don Allingham * src/DisplayModels/_PeopleModel.py: fix sorting of names svn: r7155 --- gramps2/ChangeLog | 3 +++ gramps2/src/DisplayModels/_PeopleModel.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9025e6e8f..d8612518c 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-08-11 Don Allingham + * src/DisplayModels/_PeopleModel.py: fix sorting of names + 2006-08-11 Alex Roitman * src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata. * src/Editors/_EditFamily.py: Use cPickle. diff --git a/gramps2/src/DisplayModels/_PeopleModel.py b/gramps2/src/DisplayModels/_PeopleModel.py index 5877b01d8..b95a9ff45 100644 --- a/gramps2/src/DisplayModels/_PeopleModel.py +++ b/gramps2/src/DisplayModels/_PeopleModel.py @@ -207,7 +207,7 @@ class PeopleModel(gtk.GenericTreeModel): if not (handle in skip or (dfilter and not dfilter.match(handle))): name_data = d[PeopleModel._NAME_COL] sn = ngn(self.db, name_data) - self.sortnames[handle] = sn + self.sortnames[handle] = nsn(name_data) try: self.temp_sname_sub[sn].append(handle) except: @@ -231,7 +231,7 @@ class PeopleModel(gtk.GenericTreeModel): if not (handle in skip or (dfilter and not dfilter.match(handle))): name_data = d[PeopleModel._NAME_COL] sn = ngn(self.db, name_data) - self.sortnames[handle] = sn + self.sortnames[handle] = nsn(name_data) try: self.temp_sname_sub[sn].append(handle) except: