jeudi 25 juillet 2019

Preserve Current Tab View page number in laravel

I have two tabs which contain two separate tables with separate pagination. Both are using different query param to represent the page number.

http://localhost:8000/additionalfee/view?page=2
http://localhost:8000/additionalfee/view?serve=2

When I clicked pagination for one tab, I losing the page number for another tab. it will reset to 1.

I was trying to append query param when I clicked on any tab but I am unable to manipulate {!! $serves -> render() !!} && {!! $fees -> render() !!} render method.

Is there any way I can preserve the state of another pagination?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire