From 25b9d4c118531df0bf49d376a5a00260d3f9a056 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Mar 2011 12:15:34 -0700 Subject: [PATCH] ... --- src/calibre/library/caches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 63920c5dc9..f27e15a74b 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -798,8 +798,8 @@ class ResultCache(SearchQueryParser): # {{{ # Set the values in the cache marked_col = self.FIELD_MAP['marked'] - for id_ in self.iterallids(): - self._data[id_][marked_col] = None + for r in self.iterall(): + r[marked_col] = None for id_, val in self.marked_ids_dict.iteritems(): try: