Fix filter bug in PeopleModel.

svn: r9689
This commit is contained in:
Brian Matherly 2008-01-03 04:34:18 +00:00
parent 91f4a23c3f
commit c706d7b097
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2008-01-02 Brian Matherly <brian@gramps-project.org>
* src/DisplayModels/_PeopleModel.py: Fix filter bug.
2008-01-02 Jim Sack <jgsack@san.rr.com>
* src/const.py.in : change embedded copyright sign to unicode \u00A9
(really) instead of the \U (oops)

View File

@ -370,7 +370,7 @@ class PeopleModel(gtk.GenericTreeModel):
for handle in handle_list:
status.heartbeat()
d = self.db.get_raw_person_data(handle)
if not (handle in skip or (dfilter and not dfilter.match(handle))):
if not handle in skip:
name_data = d[PeopleModel._NAME_COL]
group_name = ngn(self.db, name_data)