diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-09-07 13:56:14 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-09-07 13:56:14 +0200 |
commit | 17476f4d8d6eaf03c17870c81181dda337ded844 (patch) | |
tree | 0683d19a4b6862587b000d0b8c1a91e1153584ec /src | |
parent | 495f83c92539444bff7dfd6cd647b7d65a74f949 (diff) | |
download | wallabag-17476f4d8d6eaf03c17870c81181dda337ded844.tar.gz wallabag-17476f4d8d6eaf03c17870c81181dda337ded844.tar.zst wallabag-17476f4d8d6eaf03c17870c81181dda337ded844.zip |
Add missing parameters
Parameters weren’t passed to the sub function.
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
450 | */ | 450 | */ |
451 | private function getSortedQueryBuilderByUser($userId, $sortBy = 'createdAt', $direction = 'desc') | 451 | private function getSortedQueryBuilderByUser($userId, $sortBy = 'createdAt', $direction = 'desc') |
452 | { | 452 | { |
453 | return $this->sortQueryBuilder($this->getQueryBuilderByUser($userId)); | 453 | return $this->sortQueryBuilder($this->getQueryBuilderByUser($userId), $sortBy, $direction); |
454 | } | 454 | } |
455 | 455 | ||
456 | /** | 456 | /** |