Back to search results go to first record
This is the bug:
- perform a search
- goto next page of results
- select a result an click on it
now if you go back with the browser, you will not see the correct results page (in the example the second one) but always the first one.
This is true for both Safari and FF, I did not try il on IE.
#2 Updated by Pierre-Luc Samuel almost 7 years ago
The way GMail does it is interesting and could be a source of inspiration. They use hashtags at the end of the URL to remember the state. So, for instance, when clicking on Inbox, the URL changes to "https://mail.google.com/mail/?ui=2#inbox/", and when accessing the 2nd page of the Inbox, the URL becomes "https://mail.google.com/mail/?ui=2#inbox/p2".
So, when going back to the "#inbox/p2" page, the AJAX script checks the URL and returns to page 2 on load.