Commit 952ee3f7 authored by Bernhard Schussek's avatar Bernhard Schussek

Merge branch 'bugfix/orm-repository-filtering' into 'master'

Fixed filtering in ORMRepostiory #892443667121434

See merge request !3
parents 0eebb11d 3d089616
......@@ -210,13 +210,10 @@ abstract class ORMRepository extends EntityRepository implements EditableReposit
*/
public function getIdsBySpecs(Specifications $specifications): iterable
{
$result = $this->createQueryBuilderFactoryForSpecs($specifications)
->filter($specifications)
->getQueryBuilder()
$result = $this->createQueryBuilderForFindBySpecs($specifications)
->select('e.id')
->getQuery()
->getResult()
;
->getResult();
return array_column($result, 'id');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment