correct bug in unattached with filter

svn: r9001
This commit is contained in:
Benny Malengier 2007-09-24 10:08:54 +00:00
parent bb5c01c602
commit 1ab9ce0460
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2007-09-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayModels/_NoteModel.py: correct bug in unattached with filter
2007-09-23 Benny Malengier <benny.malengier@gramps-project.org> 2007-09-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: from buglist, read recent file is broken in GRAMPS 30! * src/ArgHandler.py: from buglist, read recent file is broken in GRAMPS 30!
DISABLE, this module must be cleaned completely before 3.0 !! DISABLE, this module must be cleaned completely before 3.0 !!

View File

@ -124,11 +124,11 @@ class NoteModel(BaseModel):
dlist = self.search.apply(self.db, dlist = self.search.apply(self.db,
[ k for k in self.sort_keys()\ [ k for k in self.sort_keys()\
if k != ignore and \ if k != ignore and \
self.__unattached_note(h)]) self.__unattached_note(k)])
else: else:
dlist = [ k for k in self.sort_keys() \ dlist = [ k for k in self.sort_keys() \
if k != ignore and \ if k != ignore and \
self.__unattached_note(h)] self.__unattached_note(k)]
self.displayed = len(dlist) self.displayed = len(dlist)
self.node_map.set_path_map(dlist) self.node_map.set_path_map(dlist)