Merge branch 'trunk'

This commit is contained in:
Noah Lancien 2024-11-06 17:08:33 +01:00
commit dd50035fc4

View file

@ -227,7 +227,7 @@ class DepartaimantController extends Controller
int $pageSize,
int $page = 1
): \Illuminate\Pagination\LengthAwarePaginator {
return $this->paginator($results->forPage($page, $pageSize), $totalCount, $pageSize, $page, [
return $this->paginator($results, $totalCount, $pageSize, $page, [
'path' => Paginator::resolveCurrentPath(),
'pageName' => 'page',
]);