Support the ongoing development of Laravel.io →
Requests Eloquent Forms
Last updated 2 years ago.
0

The thing is, i get the POST data in my controller, i don't actually get it out of the URL. So lets say the url is 'localhost/show', the url will still be like that after i post the form. Hope you get what I'm saying :)

0

Pagination links are GET requests and your controller filters the data in a POST request. That's why the results isn't filtered when you reach page 2 (or any other).

If you change your filter form to use GET method and append the filters to paginations (like mentioned above), it should work.

0

Pagination is used on a list page not an edit page you are going to post.
Search for pagination threads, there are 5 tons of existing post with very detailed examples.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.