Another back to search results page
Hey Ray,
I'm pretty sure this page used to go back to the search results of a page but now goes back to loads every record.
Hey Ray,
I'm pretty sure this page used to go back to the search results of a page but now goes back to loads every record.
It uses a form post for the search, so passing a value in the URL would have never made a difference.
I've updated the search page to save the submitted form in the session. Then I added code on the results page to restore the previous search when ?return is added to the url.
Then I added a "return to results" link on the edit_option.php page with the added url parameter to restore the search.
Then I updated the link on the edit_order.php page to go back to the results page and add the necessary url parameter.
Then I updated the edit_charges.php page and noticed that there are two results pages that link to the same page, so I had to update the url from the edit_options.php page to pass the correct return page url to this page so that I could redirect to the correct results page based on where the user came from. Then I updated the edit_charges.php page to detect the correct page based on the url parameter and redirect accordingly.
I'm sending you an invoice for 30 minutes of work.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.