Skip to content

Commit

Permalink
Merge pull request #242 from 1ma/fix-aggregate-call
Browse files Browse the repository at this point in the history
added mandatory 'cursor' parameter to mongo aggregate method call
  • Loading branch information
markstory authored Jun 28, 2018
2 parents b9abf78 + 99c228c commit c0a2a5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Xhgui/Profiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ public function getAvgsForUrl($url, $search = array())
)
),
array('$sort' => array('_id' => 1))
));
),
array('cursor' => array('batchSize' => 0))
);
if (empty($results['result'])) {
return array();
}
Expand Down

0 comments on commit c0a2a5d

Please sign in to comment.