I have a view with exposed filters that allows users to search for other users on my site. The view displays users' profile pictures, and clicking a profile picture takes one to the relevant user's profile (put together using Panels).
I'd like to display a "Back to search results" link on the user profile whenever someone clicks on the link (picture) in the view and visits the profile. How might I go about doing this?
I'm using D7 with Panels and Views 3.