From a button on the details page, return the user to search results page rather than full list of db entries?
Hi, I have a search page with a pull-down menu that allows people to view only db entries with the status of Yes, No or Maybe. When someone selects Yes and clicks search, they get a page containing only db entries that have status=Yes. When someone clicks a details link, they see the full details page and that's all great. However, there's a "back to results" button on that details page that simply returns the user to a page containing all of the db entries, not the search results they were viewing.
Is there a way to dynamically link that button to whichever search results page the user originally came from? I can't figure this one out! Thanks!!