aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-04 08:48:42 +0100
committerGitHub <noreply@github.com>2016-11-04 08:48:42 +0100
commitf53f542fa51075e742fc2295bfff2681b0375ea1 (patch)
treece378eca967d680845ab3c286427ba2d21fe7b63 /src/Wallabag
parent84795d015b3c7e1af48a3dda3cb33cf080b66e8f (diff)
parentce11952447e9e8e6c5ebcd837331735ba1e7fd6f (diff)
downloadwallabag-f53f542fa51075e742fc2295bfff2681b0375ea1.tar.gz
wallabag-f53f542fa51075e742fc2295bfff2681b0375ea1.tar.zst
wallabag-f53f542fa51075e742fc2295bfff2681b0375ea1.zip
Merge pull request #2534 from wallabag/default-sort
Use created_at as default sort
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index cd2b47b9..4f03ae0f 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