浏览代码

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/LcShopBundle into develop

develop
Fab 3 年前
父节点
当前提交
3b14e6b782
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      ShopBundle/Repository/ProductFamilyRepository.php

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

@@ -128,6 +128,7 @@ class ProductFamilyRepository extends BaseRepository implements DefaultRepositor
$query = $this->findByMerchantQuery() ;
$query = $this->joinRelations($query) ;

$query->andWhere('e.status = 1');
$query->andWhere(':section MEMBER OF e.sections')
->setParameter('section', $section) ;
$query->leftJoin('e.productCategories', 'productCategories');

正在加载...
取消
保存