Defect #6956
closed
Back to search results go to first record
Added by Andrea Saccavini over 15 years ago.
Updated about 14 years ago.
Description
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.
- Subject changed from Back to serch results go to first record to Back to search results go to first record
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.
- Status changed from New to Closed
- Resolution set to Fixed
Fixed since AJAX pagination was removed.
Also available in: Atom
PDF