when refreshing some uids in a nextmatch, we need to send nextmatch filters too, as server-side will merge old version of filters from initial request data otherwise

this can cause rows not to be returned because of different filters or search, or they are returned thought they should not
This commit is contained in:
Ralf Becker 2014-09-05 09:33:05 +00:00
parent ec049a5977
commit 6b4a25e46d

View File

@ -811,7 +811,10 @@ egw.extend("data_storage", egw.MODULE_GLOBAL, function (_app, _wnd) {
};
uid = uid.join("::");
this.dataFetch(_execId, {'refresh':uid}, {}, nextmatchId,false, context, [uid]);
// need to send nextmatch filters too, as server-side will merge old version from request otherwise
this.dataFetch(_execId, {'refresh':uid}, registeredCallbacks[_uid][0].context.self._filters || {},
nextmatchId, false, context, [uid]);
return true;
}
return false;