Merge branch 'trunk'
This commit is contained in:
commit
dd50035fc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue