Browse Source

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

master
Guillaume 4 years ago
parent
commit
34eb38f009
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Repository/PointSaleRepository.php

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

return $this->createQueryBuilder('e') return $this->createQueryBuilder('e')
->where(':currentMerchant MEMBER OF e.merchants') ->where(':currentMerchant MEMBER OF e.merchants')
->andWhere('e.isPublic = 1') ->andWhere('e.isPublic = 1')
->andWhere('e.status > 0')
->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()) ->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent())
->getQuery() ->getQuery()
->getResult() ; ->getResult() ;

Loading…
Cancel
Save