Bug 7898

Summary: Browse Results is easily confused
Product: Koha Reporter: MJ Ray (software.coop) <mjr>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: martin.renvoize
Version: Main   
Hardware: All   
OS: All   
URL: http://localnet/cgi-bin/koha/opac-detail.pl
Change sponsored?: Seeking cosponsors Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description MJ Ray (software.coop) 2012-04-04 18:07:01 UTC
To break the Browse Results box added in Bug 6483:

1. search for many pages of results common, like "a";

2. open results page 2 in a new tab;

3. open any result detail from page 1;

4. enjoy the Browse Results box either: moving you around the wrong page; or having previous/next greyed out while Back to Results takes you to the wrong page.

This is because the Browse Results links are stored in the session rather than encoded in the URLs. I think it needs more behind-the-scenes knowledge than even OPAC power users will have before you expect that behaviour, but power users open results pages in tabs.

The obvious fix is to encode the session parameter busc in the URLs rather than the session.  That would also make it rather easier to debug things like bug 7394 and bug 7894.
Comment 1 Martin Renvoize (ashimema) 2013-09-05 17:54:12 UTC

*** This bug has been marked as a duplicate of bug 10829 ***