Paging in grocery crud does not work well

1

The problem I have is with the grocery crud paging apparently if I'm doing it well but the specific problem I have is that for example I'm on page 20, I edit a product and when I save the data instead of staying On page 20, he returns me to the first page and that is very uncomfortable. How could this problem be solved to save the state of the page it is on ???

    
asked by NatyAR 22.06.2016 в 23:04
source

1 answer

1

capture the current page in a hidden field and send it to the server using POST when editing, when you finish saving, ask if that variable has data and if it is numeric, you redirect it to the page where it stayed.

    
answered by 23.06.2016 в 00:27