public function getDisplayDateFilterQueryBuilder($categoryIds,
$filter,
$shopId = null
) { $builder =
$this->
getFilterQueryBuilder($categoryIds,
$filter,
$shopId);
$builder->
select([ 'DATE_FORMAT(blog.displayDate,\'%Y-%m\') as dateFormatDate',
'COUNT(DISTINCT blog.id) as dateCount',
]);
$builder->
groupBy('dateFormatDate'
);
return $builder;
} /**
* Returns an instance of the \Doctrine\ORM\Query object which select the blog author filter
*
* @param int[] $categoryIds
* @param array $filter
* @param int|null $shopId
*
* @return Query<Blog>
*/