diff --git a/web/typo3conf/ext/ep_products/Classes/Domain/Repository/HotelRepository.php b/web/typo3conf/ext/ep_products/Classes/Domain/Repository/HotelRepository.php index 619e9448..ccea1b2c 100644 --- a/web/typo3conf/ext/ep_products/Classes/Domain/Repository/HotelRepository.php +++ b/web/typo3conf/ext/ep_products/Classes/Domain/Repository/HotelRepository.php @@ -72,9 +72,7 @@ class HotelRepository extends AbstractRepository ->leftJoin('hotel', 'tx_epproducts_domain_model_country', 'country', 'hotel.country = country.uid') ->leftJoin('hotel', 'tx_epproducts_domain_model_region', 'region', 'hotel.region = region.uid') ->where('hotel.uid = :hotelUid') - ->andWhere('hotel.hidden = 0') ->andWhere('hotel.show_as_teaser = 1') - ->andWhere('hotel.deleted = 0') ->setParameter('hotelUid', $hotelUid) ; @@ -173,9 +171,7 @@ class HotelRepository extends AbstractRepository ->from('tx_epproducts_domain_model_hotel', 'hotel') ->leftJoin('hotel', 'tx_epproducts_domain_model_country', 'country', 'hotel.country = country.uid') ->leftJoin('hotel', 'tx_epproducts_domain_model_region', 'region', 'hotel.region = region.uid') - ->where('hotel.hidden = 0') - ->andWhere('hotel.show_as_teaser = 1') - ->andWhere('hotel.deleted = 0') + ->where('hotel.show_as_teaser = 1') ->add('orderBy', 'FIELD(hotel.type, ' . Hotel::TYPE_SPORTS_CLUB . ') DESC') ->addOrderBy('hotel.name', 'ASC') ;