Force refresh of cached composite column values when values in the cache are changed

This commit is contained in:
Kovid Goyal 2012-07-10 15:09:57 +05:30
commit 6d77380b1d

View File

@ -913,7 +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
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]