diff --git a/eZ/Publish/Core/Pagination/Pagerfanta/LocationSearchHitAdapter.php b/eZ/Publish/Core/Pagination/Pagerfanta/LocationSearchHitAdapter.php index b343e446d4b..035efc05eb4 100644 --- a/eZ/Publish/Core/Pagination/Pagerfanta/LocationSearchHitAdapter.php +++ b/eZ/Publish/Core/Pagination/Pagerfanta/LocationSearchHitAdapter.php @@ -59,7 +59,7 @@ public function getNbResults() $countQuery = clone $this->query; $countQuery->limit = 0; - return $this->nbResults = $this->searchService->findLocations($countQuery)->totalCount; + return $this->nbResults = $this->searchService->findLocations($countQuery, $this->languageFilter)->totalCount; } /**