mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-06-06 14:05:21 -04:00
Fix set_marked not clearing previously marked ids
This commit is contained in:
@@ -798,7 +798,10 @@ class ResultCache(SearchQueryParser): # {{{
|
||||
|
||||
# Set the values in the cache
|
||||
marked_col = self.FIELD_MAP['marked']
|
||||
for id_,val in self.marked_ids_dict.iteritems():
|
||||
for id_ in self.iterallids():
|
||||
self._data[id_][marked_col] = None
|
||||
|
||||
for id_, val in self.marked_ids_dict.iteritems():
|
||||
try:
|
||||
self._data[id_][marked_col] = val
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user