diff --git a/public/typo3conf/ext/ep_products/Classes/Service/SearchResultService.php b/public/typo3conf/ext/ep_products/Classes/Service/SearchResultService.php index 08acc013..4922aac1 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/SearchResultService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/SearchResultService.php @@ -193,9 +193,12 @@ class SearchResultService implements SingletonInterface } - // Sort products by minprice within concept sections - foreach ($data as $conceptUid => &$section) - { + // Sort products by minprice within concept sections except for 'event' concept + foreach ($data as &$section) { + if ('evt' === $section['concept']['code']) { + continue; + } + uasort($section['items'], function ($a, $b) { return strcmp($a['minPrice'], $b['minPrice']); });