From: Jeremy Benoist Date: Fri, 7 Sep 2018 11:56:14 +0000 (+0200) Subject: Add missing parameters X-Git-Tag: 2.3.4~17^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=17476f4d8d6eaf03c17870c81181dda337ded844;hp=495f83c92539444bff7dfd6cd647b7d65a74f949;p=github%2Fwallabag%2Fwallabag.git Add missing parameters Parameters weren’t passed to the sub function. --- diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 34123eea..83379998 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -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); } /**