if (!Feature::
isActive('v6.6.0.0'
)) { $context->
getContext()->
addState(ProductListingFeaturesSubscriber::HANDLED_STATE
);
} $this->eventDispatcher->
dispatch( new ProductListingCriteriaEvent($request,
$criteria,
$context) );
$response =
$this->
getDecorated()->
load($categoryId,
$request,
$context,
$criteria);
$response->
getResult()->
addCurrentFilter('navigationId',
$categoryId);
$this->processor->
process($request,
$response->
getResult(),
$context);
$this->eventDispatcher->
dispatch( new ProductListingResultEvent($request,
$response->
getResult(),
$context) );
$response->
getResult()->
getAvailableSortings()->
removeByKey( ResolvedCriteriaProductSearchRoute::DEFAULT_SEARCH_SORT
);