fix timesheet collection fetch via API with end datetime set (#2552)
This commit is contained in:
@@ -138,7 +138,7 @@ class TimesheetController extends BaseApiController
|
||||
*/
|
||||
public function cgetAction(ParamFetcherInterface $paramFetcher): Response
|
||||
{
|
||||
$query = new TimesheetQuery();
|
||||
$query = new TimesheetQuery(false);
|
||||
$query->setUser($this->getUser());
|
||||
|
||||
if ($this->isGranted('view_other_timesheet') && null !== ($user = $paramFetcher->get('user'))) {
|
||||
|
||||
Reference in New Issue
Block a user