Skip to content

Commit

Permalink
fix-EZP-31779
Browse files Browse the repository at this point in the history
See Jira: EZP-31779
Adding language filter parameter.
Forgotten here: 494b588
  • Loading branch information
lionelakpagni authored and alongosz committed Oct 26, 2020
1 parent daa76b8 commit 1888bfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 1888bfb

Please sign in to comment.