Skip to content

Commit fb12873

Browse files
author
Ryan Lee
committed
IBX-10174 Add fetch limit to Is Within Copy Subtree Limit
1 parent acaa620 commit fb12873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Specification/Location/IsWithinCopySubtreeLimit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function isSatisfiedBy($item): bool
4444
return false;
4545
}
4646

47-
return $this->copyLimit >= $this->locationService->getSubtreeSize($item);
47+
return $this->copyLimit >= $this->locationService->getSubtreeSize($item, $this->copyLimit + 1);
4848
}
4949

5050
private function isContainer(Location $location): bool

0 commit comments

Comments
 (0)