fixes #5773 - redirect to referrer URL that includes page and search

For my 0.02 I think it's fine to redirect to a search after completing an action. +1 for consistency across the UI.