diff options
Diffstat (limited to 'src/Wallabag')
-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 14616d88..61be5220 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -22,7 +22,7 @@ class EntryRepository extends EntityRepository | |||
22 | return $this->createQueryBuilder('e') | 22 | return $this->createQueryBuilder('e') |
23 | ->leftJoin('e.user', 'u') | 23 | ->leftJoin('e.user', 'u') |
24 | ->andWhere('u.id = :userId')->setParameter('userId', $userId) | 24 | ->andWhere('u.id = :userId')->setParameter('userId', $userId) |
25 | ->orderBy('e.id', 'desc') | 25 | ->orderBy('e.createdAt', 'desc') |
26 | ; | 26 | ; |
27 | } | 27 | } |
28 | 28 | ||