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 5f3b050 commit de11f6cCopy full SHA for de11f6c
1 file changed
src/QueryObjectDataSource.php
@@ -94,8 +94,7 @@ public function setLimitCallback($callback) {
94
95
protected function getResultSet() {
96
if (!$this->resultSet) {
97
- $this->resultSet = $this->repo
98
- ->fetch($this->queryObject);
+ $this->resultSet = $this->queryObject->fetch();
99
}
100
101
return $this->resultSet;
@@ -106,9 +105,7 @@ protected function getResultSet() {
106
105
* @return int
107
*/
108
public function getCount(): int {
109
- return $this->repo
110
- ->fetch($this->queryObject)
111
- ->getTotalCount();
+ return $this->queryObject->fetch()->getTotalCount();
112
113
114
/**
0 commit comments