|
|
@@ -156,7 +156,7 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt |
|
|
|
$query->leftJoin('e.complementaryOrderShops', 'complementaryOrderShops') ; |
|
|
|
|
|
|
|
$query->leftJoin('complementaryOrderShops.orderStatus', 'complementaryOrderStatus'); |
|
|
|
$query->andWhere('complementaryOrderStatus.alias IN (:statusAliasValid)'); |
|
|
|
$query->andWhere('complementaryOrderShops IS NULL OR complementaryOrderStatus.alias IN (:statusAliasValid)'); |
|
|
|
$query->setParameter('statusAliasValid', $this->statusAliasAsValid); |
|
|
|
} |
|
|
|
|