BRACKETS-by-TRIAD / craftable

Admin panel builder / CRUD generator for Laravel.
https://getcraftable.com
MIT License
984 stars 191 forks source link

Improve AdminListing pagination to allow customize page name attribute #406

Open timoransky opened 2 years ago

timoransky commented 2 years ago

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 commented 1 year ago

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

VladyslavMazurets commented 8 months ago

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.