开发者

Pagination with a POST

开发者 https://www.devze.com 2023-04-10 01:25 出处:网络
I have a field where a user can search in. The user selects an option, then that is posted to a view and returns him with the Filtered results on a new page.

I have a field where a user can search in. The user selects an option, then that is posted to a view and returns him with the Filtered results on a new page.

Im not sure how I would paginate this because the data this must be displayed is filtered by the previous post?

T开发者_高级运维o paginate the first one is fine, cause tou have the post and know what to return to the page. But what about page 2 etc? then the post is gone?


Use hidden HTML input fields to keep track values posted from previous post

0

精彩评论

暂无评论...
验证码 换一张
取 消