Skip to content

Commit 8c6adec

Browse files
committed
fix
1 parent 09e131b commit 8c6adec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/QueryObjectDataSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function getResultSet(int $page = 1, ?int $itemsPerPage = null) {
8787
if ($this->resultSet === null) {
8888
$this->resultSet = $itemsPerPage
8989
? iterator_to_array($this->queryObject->getResultSet($page, $itemsPerPage)->getIterator())
90-
: $this->queryObject->getQuery()->getResult();
90+
: $this->queryObject->fetch();
9191
}
9292

9393
return $this->resultSet;

0 commit comments

Comments
 (0)