Skip to content

Commit

Permalink
Update DoctrineODM.php
Browse files Browse the repository at this point in the history
fix enable DataHydrator bug
stephpy#168
  • Loading branch information
taylor19882002 committed Jan 17, 2015
1 parent e7bc9cb commit 7752908
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Filter/DataHydrator/Locator/DoctrineODM.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public function locate($model, array $components)

$qb = $objectManager->getRepository($model)
->createQueryBuilder('r');


$field = current($field);

$results = $qb->field($field)->in($oids)
->getQuery()
->execute();
Expand Down

0 comments on commit 7752908

Please sign in to comment.