2
I have an element form
with a select
and a submit
(filter). The data is filtered, the page is reloaded and the data is presented in a table. To see all the data, you pass through more than one page in the table (paging). However, I use a value that comes from the value of the last POST
(content of select
) and when I change pages in the table, the table shows the data of the first element of the select
, because it does not retain the value of POST
.
How can I save the post value so that pages after the first one are also shown?
Actually, it seems to make more sense to use GET.
– Diego Souza
@Diegosouza I say from experience. Filters in get can be ugly, but via post they are worse from the point of view of the user, who cannot bookmark a url with his preferred filters for example.
– gmsantos