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 ecb052c commit 89fbe45Copy full SHA for 89fbe45
src/Adapters/ResultSet.php
@@ -62,8 +62,9 @@ public function getResponse() {
62
}, $filter);
63
} else {
64
$filtered = $total;
65
- $this->resultSet->setHydrateMode(PhalconResultSet::HYDRATE_RECORDS);
66
- $items = array_map('array_unique', $this->resultSet->toArray());
+ $items = $this->resultSet->filter(function($item) {
+ return $item->toArray();
67
+ });
68
}
69
70
if ($this->order) {
0 commit comments