Steps to Reproduce:
1. Visit a page with a view that has exposed filters and/or pagers with auto-submit by AJAX.
2. Click an exposed form element to trigger a submission and provide results and/or use pagers.
3. Click some link to navigate to another page.
4. Click the back button to return to the view.
Actual Results: The selection made in step 2 is preserved, but the results are not as they were after step 2.
Expected Results: The View should show the same results as it it did after step 2.
Proposed solution: On ajaxComplete and on click of pager links, append the HTML id of the exposed form and the current page to the url as a #hash so it will be preserved by browser; and on page load, trigger the AJAX submit of the form id contained in the URL hash.
Patch attached. (Initial patch supports only filters. See below for patch with both filters & pagers.)
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch views-ajax_history-1786904-32.patch. Unable to apply patch. See the log in the details link for more information.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch views-ajax-history.patch. Unable to apply patch. See the log in the details link for more information.|
|PASSED: [[SimpleTest]]: [MySQL] 1,555 pass(es).|