Merge branch 'DDC-2640' into 2.4
This commit is contained in:
commit
fdcab7eae8
@ -178,7 +178,7 @@ class Paginator implements \Countable, \IteratorAggregate
|
|||||||
return new \ArrayIterator(array());
|
return new \ArrayIterator(array());
|
||||||
}
|
}
|
||||||
|
|
||||||
$whereInQuery->setHint(Query::HINT_CUSTOM_TREE_WALKERS, array('Doctrine\ORM\Tools\Pagination\WhereInWalker'));
|
$this->appendTreeWalker($whereInQuery, 'Doctrine\ORM\Tools\Pagination\WhereInWalker');
|
||||||
$whereInQuery->setHint(WhereInWalker::HINT_PAGINATOR_ID_COUNT, count($ids));
|
$whereInQuery->setHint(WhereInWalker::HINT_PAGINATOR_ID_COUNT, count($ids));
|
||||||
$whereInQuery->setFirstResult(null)->setMaxResults(null);
|
$whereInQuery->setFirstResult(null)->setMaxResults(null);
|
||||||
$whereInQuery->setParameter(WhereInWalker::PAGINATOR_ID_ALIAS, $ids);
|
$whereInQuery->setParameter(WhereInWalker::PAGINATOR_ID_ALIAS, $ids);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user