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

you mean in the form as a hidden field?