more pagination formatting
This commit is contained in:
parent
7e8b395dc5
commit
c727806ecd
@ -37,7 +37,7 @@ abstract class Controller extends BaseController
|
|||||||
*
|
*
|
||||||
* @return LengthAwarePaginator
|
* @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'));
|
$perPage = $perPage ?: (int) request('limit', setting('default.list_limit', '25'));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user