Pagination Recall
Does it drive you nuts when you edit an item on page 4 of a list, then when you save you're dropped back to page 1 with the list back in the default order? The PaginationRecall component automatically remembers the page you were on and the sorting so you're returned to the same spot on the list.
Comments
Comment
1 Thanks for it
Comment
2 Why not make use of the referer
Hi, from the above description the problem could easily be avoided if instead of redirecting to the index, you redirected to (the referer url when they first entered the edit function) when the edit was finished.
The only time what i propose wouldn't work is if you are storing settings in the session.
Comment
3 Referer is good
Comment
4 RE Why not make use of the referer
Doh! I knew as soon as I published this someone would show me an easier way. Thanks for the tip Andy.
Comment
5 thanks