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 Jul 29, 2020
1 parent fb00430 commit 5b8c64b
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 5b8c64b

Please sign in to comment.