Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the withQueryString method to the paginator interface. #54462

Conversation

dvlpr91
Copy link
Contributor

@dvlpr91 dvlpr91 commented Feb 4, 2025

ref: #54460

- According to the documentation, `paginate` has a `withQueryString` method.
  - See, https://laravel.com/docs/pagination#appending-query-string-values
- Not only `cursorPaginate`, but also `paginate` and `simplePaginate` should implement `withQueryString` and work with it.

ref: laravel#54460
@taylorotwell taylorotwell merged commit afac782 into laravel:master Feb 5, 2025
29 checks passed
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