X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FRepository%2FEntryRepository.php;fp=src%2FWallabag%2FCoreBundle%2FRepository%2FEntryRepository.php;h=83379998d203bdc2896195da2ab30fe3a4c79004;hb=8013f35d96c42b15c1da28cdff40e97289ad4e25;hp=34123eea699bff74a0ea1e7b126fd390a8b0dbf0;hpb=495f83c92539444bff7dfd6cd647b7d65a74f949;p=github%2Fwallabag%2Fwallabag.git 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); } /**