diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-09-21 11:18:29 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-09-21 11:18:29 +0200 |
commit | 9007fe006286c63a7793326d9429792383ebd76d (patch) | |
tree | a145b39f411f1981444fa68ad26f8789abdfa35a /src/Wallabag/CoreBundle/Repository/EntryRepository.php | |
parent | 7c0d682687e9e79266573eeed73b50a3e2674e66 (diff) | |
download | wallabag-9007fe006286c63a7793326d9429792383ebd76d.tar.gz wallabag-9007fe006286c63a7793326d9429792383ebd76d.tar.zst wallabag-9007fe006286c63a7793326d9429792383ebd76d.zip |
Sort archive page by archived at
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository/EntryRepository.php')
-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 10389cc1..93c630c0 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -50,7 +50,7 @@ class EntryRepository extends EntityRepository | |||
50 | public function getBuilderForArchiveByUser($userId) | 50 | public function getBuilderForArchiveByUser($userId) |
51 | { | 51 | { |
52 | return $this | 52 | return $this |
53 | ->getSortedQueryBuilderByUser($userId) | 53 | ->getSortedQueryBuilderByUser($userId, 'archivedAt', 'desc') |
54 | ->andWhere('e.isArchived = true') | 54 | ->andWhere('e.isArchived = true') |
55 | ; | 55 | ; |
56 | } | 56 | } |