Welcome Guest, Not a member yet? Register   Sign In
Help with pagination

For example, I'm on the 5 th page of pagination. Is a function of editing, which, if successfully editing, redirects to a list of objects. But I need to redirect the page on which the object (product), for instance on the same page five. I use the routes.

$ Route ['admin / property / search / (: any) / (: any) / edit / (: num)'] = "admin / property / edit / $ 3;


Here 5-th segment(2) is a number of page. It work, because there is a segment(number of page). But what to do, if I have not any page number in url, like the firls page or last page
Example: /admin/catalog/search/buy//6 - not good... Maybe corrent pagination, I tried, buy I could not do this.. or... I don't know :-S
Thank you

decided, sorry

Theme © iAndrew 2016 - Forum software by © MyBB