瀏覽代碼

[Frontend] Point de retrait : correctif repo (status)

master
Guillaume 4 年之前
父節點
當前提交
34eb38f009
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      ShopBundle/Repository/PointSaleRepository.php

+ 1
- 0
ShopBundle/Repository/PointSaleRepository.php 查看文件

@@ -24,6 +24,7 @@ class PointSaleRepository extends BaseRepository implements DefaultRepositoryInt
return $this->createQueryBuilder('e')
->where(':currentMerchant MEMBER OF e.merchants')
->andWhere('e.isPublic = 1')
->andWhere('e.status > 0')
->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent())
->getQuery()
->getResult() ;

Loading…
取消
儲存