|
@@ -34,6 +34,7 @@ class CommentaireRepository extends ServiceEntityRepository
|
|
|
{
|
|
|
return $this->createQueryBuilder('c')
|
|
|
->select("DATE_FORMAT(c.dateSubmitted, '%Y-%m') as month, COUNT(c.id) as entryCount")
|
|
|
+ ->where('c.dateSubmitted IS NOT NULL')
|
|
|
->groupBy('month')
|
|
|
->orderBy('month', 'ASC')
|
|
|
->getQuery()
|