mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #21506 from overleaf/jpa-fix-batched-update-edge
[web] fix edge behavior of batchedUpdate GitOrigin-RevId: 5d1c0b884aa02c52682d114fa66b2d9b201e724e
This commit is contained in:
@@ -91,12 +91,12 @@ async function getNextBatch(
|
||||
if (BATCH_DESCENDING) {
|
||||
query._id = {
|
||||
$gt: end,
|
||||
$lt: start,
|
||||
$lte: start,
|
||||
}
|
||||
} else {
|
||||
query._id = {
|
||||
$gt: start,
|
||||
$lt: end,
|
||||
$lte: end,
|
||||
}
|
||||
}
|
||||
return await collection
|
||||
|
||||
Reference in New Issue
Block a user