When using datatables and made a filter, then navigated a way from the current page for editing or somthing like this as went back to find out that the filteration you have done already is gone, if you want to preserve this state when you comeback, the solution is simple in datatable like this: