瀏覽代碼

Correctiftemps chargement

feature/export_comptable
Fab 4 年之前
父節點
當前提交
bf7845ea37
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      ShopBundle/Form/Backend/ReductionCommon/UsersFilterType.php

+ 4
- 1
ShopBundle/Form/Backend/ReductionCommon/UsersFilterType.php 查看文件

@@ -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,

Loading…
取消
儲存