Skip to content

Commit bfbd8f7

Browse files
committed
Paginate operation bugfix
1 parent 97d5051 commit bfbd8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Processor/PaginateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public function process($src, OperationInterface $operation)
2525
{
2626
return $src
2727
->setFirstResult($this->getOffset($operation))
28-
->setMaxResults($this->getOffset($operation));
28+
->setMaxResults($operation->getPageSize());
2929
}
3030
}

0 commit comments

Comments
 (0)