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

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