0001554: Select Place search

svn: r9756
This commit is contained in:
Brian Matherly 2008-01-09 03:45:12 +00:00
parent fb025aa2bd
commit 3784011060
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2008-01-00 Brian Matherly <brian@gramps-project.org>
* src/DisplayModels/_BaseModel.py: Fix 0001554: Select Place search
2008-01-08 Jim Sack <jgsack@san.rr.com> 2008-01-08 Jim Sack <jgsack@san.rr.com>
src/gen/utils/test/callback_test.py : add comment about src/gen/utils/test/callback_test.py : add comment about
intentional Error from call to undefined function intentional Error from call to undefined function

View File

@ -228,7 +228,7 @@ class BaseModel(gtk.GenericTreeModel):
if self.db.is_open(): if self.db.is_open():
if self.search and self.search.text: if self.search and self.search.text:
dlist = [h for h in self.sort_keys()\ dlist = [h for h in self.sort_keys()\
if self.search.match(h) and \ if self.search.match(h,self.db) and \
h not in self.skip and h != ignore] h not in self.skip and h != ignore]
else: else:
dlist = [h for h in self.sort_keys() \ dlist = [h for h in self.sort_keys() \