2006-08-11 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: fix sorting of names svn: r7155
This commit is contained in:
parent
58cc43816c
commit
4bdc05a6c8
@ -1,3 +1,6 @@
|
|||||||
|
2006-08-11 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/DisplayModels/_PeopleModel.py: fix sorting of names
|
||||||
|
|
||||||
2006-08-11 Alex Roitman <shura@gramps-project.org>
|
2006-08-11 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
|
* src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
|
||||||
* src/Editors/_EditFamily.py: Use cPickle.
|
* src/Editors/_EditFamily.py: Use cPickle.
|
||||||
|
@ -207,7 +207,7 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
if not (handle in skip or (dfilter and not dfilter.match(handle))):
|
if not (handle in skip or (dfilter and not dfilter.match(handle))):
|
||||||
name_data = d[PeopleModel._NAME_COL]
|
name_data = d[PeopleModel._NAME_COL]
|
||||||
sn = ngn(self.db, name_data)
|
sn = ngn(self.db, name_data)
|
||||||
self.sortnames[handle] = sn
|
self.sortnames[handle] = nsn(name_data)
|
||||||
try:
|
try:
|
||||||
self.temp_sname_sub[sn].append(handle)
|
self.temp_sname_sub[sn].append(handle)
|
||||||
except:
|
except:
|
||||||
@ -231,7 +231,7 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
if not (handle in skip or (dfilter and not dfilter.match(handle))):
|
if not (handle in skip or (dfilter and not dfilter.match(handle))):
|
||||||
name_data = d[PeopleModel._NAME_COL]
|
name_data = d[PeopleModel._NAME_COL]
|
||||||
sn = ngn(self.db, name_data)
|
sn = ngn(self.db, name_data)
|
||||||
self.sortnames[handle] = sn
|
self.sortnames[handle] = nsn(name_data)
|
||||||
try:
|
try:
|
||||||
self.temp_sname_sub[sn].append(handle)
|
self.temp_sname_sub[sn].append(handle)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user