mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Force refresh of cached composite column values when values in the cache are changed
This commit is contained in:
parent
d1f4ba8c44
commit
e456dd9e78
@ -913,8 +913,9 @@ class ResultCache(SearchQueryParser): # {{{
|
||||
|
||||
def set(self, row, col, val, row_is_id=False):
|
||||
id = row if row_is_id else self._map_filtered[row]
|
||||
self._data[id][col] = val
|
||||
self._data[id].refresh_composites()
|
||||
d = self._data[id]
|
||||
d[col] = val
|
||||
d.refresh_composites()
|
||||
|
||||
def get(self, row, col, row_is_id=False):
|
||||
id = row if row_is_id else self._map_filtered[row]
|
||||
|
Loading…
x
Reference in New Issue
Block a user