Skip to content

Commit

Permalink
fix: Cannot change assigned manager of a job
Browse files Browse the repository at this point in the history
  • Loading branch information
TiSiE committed Jul 30, 2021
1 parent 6d37ad3 commit ee1fad7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function preUpdate(LifecycleEventArgs $eventArgs)
}

$dm->createQueryBuilder('Applications\Entity\Application')
->update()->multiple(true)
->updateMany()
->field('refs.jobManagers')->set($managers)
->field('job')->equals($document->getId())
->getQuery()
Expand Down

0 comments on commit ee1fad7

Please sign in to comment.