mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-11 01:15:26 +00:00
Merge pull request #2534 from wallabag/default-sort
Use created_at as default sort
This commit is contained in:
commit
f53f542fa5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class EntryRepository extends EntityRepository
|
|||
return $this->createQueryBuilder('e')
|
||||
->leftJoin('e.user', 'u')
|
||||
->andWhere('u.id = :userId')->setParameter('userId', $userId)
|
||||
->orderBy('e.id', 'desc')
|
||||
->orderBy('e.createdAt', 'desc')
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue