mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Fix bug causing long task to fetch the same 200 ids repeatedly
This commit is contained in:
parent
e84a7823ae
commit
1dcb1a9065
@ -237,7 +237,7 @@ function nm_action(_action, _senders, _target, _ids)
|
|||||||
// dataFetch() is asyncronous, so all these requests just get fired off...
|
// dataFetch() is asyncronous, so all these requests just get fired off...
|
||||||
// 200 rows chosen arbitrarily to reduce requests.
|
// 200 rows chosen arbitrarily to reduce requests.
|
||||||
do {
|
do {
|
||||||
nextmatch.controller.dataFetch({start:idsArr.length, num_rows: 200}, function(data) {
|
nextmatch.controller.dataFetch({start:count, num_rows: 200}, function(data) {
|
||||||
if(data && data.order)
|
if(data && data.order)
|
||||||
{
|
{
|
||||||
for(var i = 0; i < data.order.length; i++)
|
for(var i = 0; i < data.order.length; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user