From d1f4ba8c44cb5f2a41faac1d30fac9f107f57489 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Mon, 9 Jul 2012 10:59:59 +0200 Subject: [PATCH] Force reevaluation of composite columns in the cache if a value in the cache changes. --- src/calibre/library/caches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index 7d8ab24fbc..1e3b37c89b 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -914,6 +914,7 @@ 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() def get(self, row, col, row_is_id=False): id = row if row_is_id else self._map_filtered[row]