performance tuning on timesheets (#874)
This commit is contained in:
@@ -198,7 +198,7 @@ class TimesheetController extends BaseApiController
|
||||
}
|
||||
|
||||
/** @var Pagerfanta $data */
|
||||
$data = $this->repository->findByQuery($query);
|
||||
$data = $this->repository->getPagerfantaForQuery($query);
|
||||
$data = (array) $data->getCurrentPageResults();
|
||||
|
||||
$view = new View($data, 200);
|
||||
|
||||
Reference in New Issue
Block a user