Add missing parameters

Parameters weren’t passed to the sub function.
This commit is contained in:
Jeremy Benoist 2018-09-07 13:56:14 +02:00
parent 495f83c925
commit 17476f4d8d
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -450,7 +450,7 @@ class EntryRepository extends EntityRepository
*/
private function getSortedQueryBuilderByUser($userId, $sortBy = 'createdAt', $direction = 'desc')
{
return $this->sortQueryBuilder($this->getQueryBuilderByUser($userId));
return $this->sortQueryBuilder($this->getQueryBuilderByUser($userId), $sortBy, $direction);
}
/**