|
@@ -266,7 +266,7 @@ class ElementRepository extends EntityRepository
|
266
|
266
|
|
267
|
267
|
$sql = "SELECT et.element_id FROM elements_tag et "
|
268
|
268
|
."WHERE et.tag_id IN ($tag_ids) group by et.element_id "
|
269
|
|
- ."having count (distinct et.tag_id) = ".count($tags);
|
|
269
|
+ ."having count(distinct et.tag_id) = ".count($tags);
|
270
|
270
|
$rsm = new \Doctrine\ORM\Query\ResultSetMapping;
|
271
|
271
|
$rsm->addScalarResult('element_id', 'element_id');
|
272
|
272
|
|