Force reevaluation of composite columns in the cache if a value in the cache changes.

This commit is contained in:
Charles Haley 2012-07-09 10:59:59 +02:00
parent d826f33d1a
commit d1f4ba8c44

View File

@ -914,6 +914,7 @@ class ResultCache(SearchQueryParser): # {{{
def set(self, row, col, val, row_is_id=False): def set(self, row, col, val, row_is_id=False):
id = row if row_is_id else self._map_filtered[row] id = row if row_is_id else self._map_filtered[row]
self._data[id][col] = val self._data[id][col] = val
self._data[id].refresh_composites()
def get(self, row, col, row_is_id=False): def get(self, row, col, row_is_id=False):
id = row if row_is_id else self._map_filtered[row] id = row if row_is_id else self._map_filtered[row]