public function getProductNavigation($orderNumber,
$categoryId, Enlight_Controller_Request_RequestHttp
$request) { $categoryId =
(int) $categoryId;
$context =
$this->contextService->
getShopContext();
$criteria =
$this->
createProductNavigationCriteria($categoryId,
$context,
$request);
// Elasticsearch default max_result_window
$criteria->
limit(10000
);
$searchResult =
$this->productNumberSearch->
search($criteria,
$context);
$navigation =
$this->
buildNavigation( $searchResult,
$orderNumber,
$categoryId,
$context );
$navigation['currentListing'
]['link'
] =
$this->
buildCategoryLink($categoryId,
$request);
return $navigation;
}