Skip to content

Improve AdminListing pagination to allow customize page name attribute #406

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

Open
timoransky opened this issue Oct 7, 2022 · 2 comments
Open

Comments

@timoransky
Copy link
Contributor

Purpose of this issue is to allow multiple paginated instances of AdminListing class on one page.
Currently AdminListing uses default page name for pagination as seen in Laravel Docs.

Link to repository: BRACKETS-by-TRIAD/admin-listing

@timoransky
Copy link
Contributor Author

... and add ->withQueryString(); to buildPaginationAndGetResult function

@VladyslavMazurets
Copy link

The method ->withQueryString() is not supported in older versions of Laravel, such as 7.0, which leads to an error that needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants