Commit 3d089616 authored by Hamlet Mkrtchyan cwd's avatar Hamlet Mkrtchyan cwd

Fixed filtering in ORMRepostiory

parent 0eebb11d
......@@ -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