/** * {@inheritDoc} */ public function addIdentifiersToQuery($class, ProxyQueryInterface $queryProxy, array $idx) { /** @var $queryProxy ProxyQuery */ $qb = $queryProxy->getQueryBuilder(); $orX = $qb->andWhere()->orX(); foreach ($idx as $id) { $path = $this->getBackendId($id); $orX->same($path, $queryProxy->getAlias()); } }