Browse Source

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

develop
Fab 3 years ago
parent
commit
3b14e6b782
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Repository/ProductFamilyRepository.php

+ 1
- 0
ShopBundle/Repository/ProductFamilyRepository.php View File

$query = $this->findByMerchantQuery() ; $query = $this->findByMerchantQuery() ;
$query = $this->joinRelations($query) ; $query = $this->joinRelations($query) ;


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

Loading…
Cancel
Save