Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update LengthAwarePaginator.php (#15870)
Ran into minor problem using multiple LengthAwarePaginators on a single page with alternate 'pageName' properties. Traced problem to the attached proposed change. When checking the current page for a LengthAwarePaginator instance, any non-default pageName is not sent to resolveCurrentPage and as such 1 is always returned (unless pageName of 'page' is used).
- Loading branch information