summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84795d0)
Imported content use the real creation date. If we sort by id, it'll
display contents in reverse order.
return $this->createQueryBuilder('e')
->leftJoin('e.user', 'u')
->andWhere('u.id = :userId')->setParameter('userId', $userId)
return $this->createQueryBuilder('e')
->leftJoin('e.user', 'u')
->andWhere('u.id = :userId')->setParameter('userId', $userId)
- ->orderBy('e.id', 'desc')
+ ->orderBy('e.createdAt', 'desc')