diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/ProductRepository.php b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/ProductRepository.php index 8a3cc923..ac8e33cd 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Repository/ProductRepository.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Repository/ProductRepository.php @@ -78,6 +78,7 @@ class ProductRepository extends AbstractRepository ->from('tx_epproducts_domain_model_date', 'date') ->leftJoin('date', 'tx_epproducts_domain_model_room', 'room', 'room.date = date.uid') ->where($qb->expr()->eq('date.product_searchable', 1)) + ->where($qb->expr()->gt('date.available', 0)) ->andWhere('date.date_start >= NOW()') ->groupBy('date.product') ->addGroupBy('date.hotel')