From c706d7b0977b9079d7b3edf3b635cc4a4b0fb056 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Thu, 3 Jan 2008 04:34:18 +0000 Subject: [PATCH] Fix filter bug in PeopleModel. svn: r9689 --- ChangeLog | 3 +++ src/DisplayModels/_PeopleModel.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2799fc02a..e0df3ff8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-01-02 Brian Matherly + * src/DisplayModels/_PeopleModel.py: Fix filter bug. + 2008-01-02 Jim Sack * src/const.py.in : change embedded copyright sign to unicode \u00A9 (really) instead of the \U (oops) diff --git a/src/DisplayModels/_PeopleModel.py b/src/DisplayModels/_PeopleModel.py index 27ba9fb4b..40597c6c0 100644 --- a/src/DisplayModels/_PeopleModel.py +++ b/src/DisplayModels/_PeopleModel.py @@ -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)