diff --git a/src/Model/Product/Filter/PriceRangeRepository.php b/src/Model/Product/Filter/PriceRangeRepository.php index adf320da86..2b511ecd2d 100644 --- a/src/Model/Product/Filter/PriceRangeRepository.php +++ b/src/Model/Product/Filter/PriceRangeRepository.php @@ -106,7 +106,7 @@ protected function getPriceRangeByProductsQueryBuilder( ->setParameter('pricingGroup', $pricingGroup) ->resetDQLPart('groupBy') ->resetDQLPart('orderBy') - ->select('MIN(pmip.priceWithVat) AS minimalPrice, MAX(pmip.priceWithVat) AS maximalPrice'); + ->select('MIN(pmip.inputPrice) AS minimalPrice, MAX(pmip.inputPrice) AS maximalPrice'); $priceRangeData = $queryBuilder->getQuery()->execute(); $priceRangeDataRow = reset($priceRangeData);