From c727806ecd3066c9286d8f3946987cb3dad9acc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Tue, 19 Jul 2022 10:37:02 +0300 Subject: [PATCH] more pagination formatting --- app/Abstracts/Http/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Abstracts/Http/Controller.php b/app/Abstracts/Http/Controller.php index 4ed55d0a1..f6805027c 100644 --- a/app/Abstracts/Http/Controller.php +++ b/app/Abstracts/Http/Controller.php @@ -37,7 +37,7 @@ abstract class Controller extends BaseController * * @return LengthAwarePaginator */ - public function paginate($items, $perPage = 15, $page = null, $options = []) + public function paginate($items, $perPage = null, $page = null, $options = []) { $perPage = $perPage ?: (int) request('limit', setting('default.list_limit', '25'));