forked from wallabag/wallabag
Use created_at as default sort
With index (following https://github.com/wallabag/wallabag/pull/2534)
This commit is contained in:
@ -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')
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user