diff --git a/lib/RoadizCoreBundle/src/Api/ListManager/SolrPaginator.php b/lib/RoadizCoreBundle/src/Api/ListManager/SolrPaginator.php index a456ec6e..99d467be 100644 --- a/lib/RoadizCoreBundle/src/Api/ListManager/SolrPaginator.php +++ b/lib/RoadizCoreBundle/src/Api/ListManager/SolrPaginator.php @@ -37,7 +37,7 @@ public function count(): int public function getLastPage(): float { $this->handleOnce(); - $lastPage = $this->listManager->getPageCount() - 1; + $lastPage = $this->listManager->getPageCount(); return max($lastPage, 1); }