Skip to content

Issue with paginate function #172

@IlyaBerzin

Description

@IlyaBerzin

Your lib has some bug in
laravel-model-caching/src/CachedBuilder.php file in function paginate()

Param pageName has default value - "page", and in line 129
$page = request("page", $page ?: 1);
you must use this variable like this:
$page = request($pageName , $page ?: 1);

At the moment there is no possibility to use a page name other than the "page".

Pls fix it. Thanks.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions