Skip to content

[13.x] Fix simple paginator ignoring page name - #62128

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
xurshudyan:simple-paginator-page-name
Oct 21, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
xurshudyan:simple-paginator-page-name

Conversation

@xurshudyan

Copy link
Copy Markdown
Contributor

The simple Paginator doesn't pass its pageName when resolving the current page, so a custom page name is ignored and it always reads ?page.

LengthAwarePaginator already does this (#15870), this does the same here.

@taylorotwell
taylorotwell merged commit 0ee9ca2 into laravel:13.x Oct 21, 2026
64 checks passed
binaryfire added a commit to hypervel/components-backup that referenced this pull request Oct 26, 2026
Apply laravel/framework#62128 (0ee9ca28ce). Paginator already forwards its configured page name. Consolidate the existing test under the upstream case, resolving distinct values for page and comments while retaining the stronger URL and argument assertions. Framework cleanup owns the resolver reset. PaginatorTest and formatting pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants