@@ -44,7 +44,10 @@ class UsersFilterType extends AbstractType | |||
'class' => $userClass->name, | |||
'required' => false, | |||
'query_builder'=> function (EntityRepository $er) { | |||
$query = $er->findByMerchantQuery()->leftJoin('e.groupUsers', 'groupUsers')->addSelect('groupUsers'); | |||
$query = $er->findByMerchantQuery() | |||
->leftJoin('e.groupUsers', 'groupUsers')->addSelect('groupUsers') | |||
->leftJoin('e.supplier', 'supplier')->addSelect('supplier') | |||
; | |||
return $query; | |||
}, | |||
'expanded' => false, |