diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2018-09-07 17:02:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 17:02:39 +0200 |
commit | 8013f35d96c42b15c1da28cdff40e97289ad4e25 (patch) | |
tree | e69798d20213b54b76ee5f95c0ef36ea3bf25cea /src/Wallabag/CoreBundle/Repository | |
parent | 495f83c92539444bff7dfd6cd647b7d65a74f949 (diff) | |
parent | c0b65ad1c982dbc0313a796be59b485223ef7e4f (diff) | |
download | wallabag-8013f35d96c42b15c1da28cdff40e97289ad4e25.tar.gz wallabag-8013f35d96c42b15c1da28cdff40e97289ad4e25.tar.zst wallabag-8013f35d96c42b15c1da28cdff40e97289ad4e25.zip |
Merge pull request #3719 from wallabag/fix-sort-parameters
Fix sort parameters
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository')
-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 | /** |