We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ef34f commit 0517ac7Copy full SHA for 0517ac7
1 file changed
src/QueryObjectDataSource.php
@@ -94,7 +94,7 @@ public function setLimitCallback($callback) {
94
protected function getResultSet(int $page = 1, ?int $itemsPerPage = null) {
95
if (!$this->resultSet) {
96
$this->resultSet = $itemsPerPage
97
- ? $this->queryObject->getResultSet($page, $itemsPerPage)->getIterator()
+ ? iterator_to_array($this->queryObject->getResultSet($page, $itemsPerPage)->getIterator())
98
: $this->queryObject->fetch();
99
}
100
0 commit comments