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:32:44 +00:00
parent 62e089c889
commit 951768885a

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;