Skip to content

Commit

Permalink
Fix Mongo Projection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgurrola committed Jul 12, 2018
1 parent 393f9af commit a5c30fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Profiler/MongoDbProfilerStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function find($ip, $url, $limit, $method, $start = null, $end = null, $st
{
$cursor = $this->getMongo()->find(
$this->buildQuery($ip, $url, $method, $start, $end, $statusCode),
array('data' => 0, 'sort' => array('time' => -1), 'limit' => intval($limit))
array('projection' => array('data' => 0), 'sort' => array('time' => -1), 'limit' => intval($limit))
);

$tokens = array();
Expand Down

0 comments on commit a5c30fd

Please sign in to comment.