$navigation['currentListing'
]['position'
] =
$index + 1;
$navigation['currentListing'
]['totalCount'
] =
$searchResult->
getTotalCount();
return $navigation;
} return [];
} private function buildCategoryLink(int
$categoryId, Enlight_Controller_Request_RequestHttp
$request): string
{ $params =
$this->queryAliasMapper->
replaceLongParams($request->
getParams());
unset( $params['__csrf_token'
],
$params['ordernumber'
],
$params['categoryId'
],
$params['module'
],
$params['controller'
],
$params['action'
] );
$params =
array_merge(