|
@@ -16,6 +16,7 @@ class CommentaireRepository extends \Doctrine\ORM\EntityRepository
|
|
->innerJoin('c.film', 'flm')->addSelect('flm')
|
|
->innerJoin('c.film', 'flm')->addSelect('flm')
|
|
->innerJoin('c.user', 'usr')->addSelect('usr')
|
|
->innerJoin('c.user', 'usr')->addSelect('usr')
|
|
->setMaxResults($limit)
|
|
->setMaxResults($limit)
|
|
|
|
+ ->orderBy('c.id', 'DESC')
|
|
->getQuery()
|
|
->getQuery()
|
|
->getResult();
|
|
->getResult();
|
|
}
|
|
}
|