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

The Page parameter in the url changes the page in all tables #119

Closed
victorelec14 opened this issue Jan 14, 2021 · 3 comments
Closed

The Page parameter in the url changes the page in all tables #119

victorelec14 opened this issue Jan 14, 2021 · 3 comments

Comments

@victorelec14
Copy link
Contributor

When changing the page in a table the "page" parameter is put in the URL and in case you have 2 or more datatables when you try to reload the web it will change the page in all the datatables to the same page.

test?page=2

image

@boynet
Copy link

boynet commented Jan 14, 2021

make sense since same parameter is used for both tables..(so the same "bug" will happen in native laravel without livewire)
you will need to change the pagination page name(google it)
and then you will also need to change some logic inside WithPagination trait has the 'page' parameter is hard coded there

@victorelec14
Copy link
Contributor Author

give a way to disable this "page" parameter after change a page?

Thanks

@victorelec14
Copy link
Contributor Author

Related: livewire/livewire#1997

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

No branches or pull requests

3 participants