diff --git a/api/src/Controller/LogController.php b/api/src/Controller/LogController.php index 7910cdceb..03e01ccd2 100644 --- a/api/src/Controller/LogController.php +++ b/api/src/Controller/LogController.php @@ -76,6 +76,9 @@ public function logAction(Request $request): Response $this->handleFilterArray($key, $value); } + $limit = 30; + $start = 0; + $completeFilter = $this->cacheService->setPagination($limit, $start, $completeFilter); $order = isset($completeFilter['_order']) === true ? str_replace(['ASC', 'asc', 'DESC', 'desc'], [1, 1, -1, -1], $completeFilter['_order']) : [];