Skip to main content
Topic: Filter lost after edit record (Read 1047 times) previous topic - next topic

Filter lost after edit record

Hi guys!!

How can i keep previous list filter after edit? Also, alfter alterring number of showing records the filter is lost.

Thanks in advande for any help.

Happy new year for everyone.

 

Re: Filter lost after edit record

Reply #1
My solution:

1) Create a cookie on Actions After List: set_cookie('list_query',$_SERVER['QUERY_STRING'],1);
2) Load the cookie on Action After Edit: $list_query=get_cookie('list_query');
3) Redirect to After Edit: <list page name>/?$list_query

I hope this could help somebody!