Bug 11132 - The results list is reset on adding a biblio to a list
Summary: The results list is reset on adding a biblio to a list
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 15:01 UTC by Jonathan Druart
Modified: 2015-06-04 23:23 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 11132: The results list is reset on adding a biblio to a list (2.24 KB, patch)
2013-10-24 15:08 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 11132: The results list is reset on adding a biblio to a list (1.88 KB, patch)
2013-10-25 18:50 UTC, Joy Nelson
Details | Diff | Splinter Review
[PASSED QA] Bug 11132: The results list is reset on adding a biblio to a list (2.50 KB, patch)
2013-10-27 19:06 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2013-10-24 15:01:00 UTC
To reproduce:
- launch a search at the OPAC (opac-search.pl).
- click on a result and browse results (using previous/next links).
- a title attract your attention and you add it to a list ("Save to yours lists" link on the right).
- save the list
- browse again results: you cannot, the "browse results" bloc has disappeared.
Comment 1 Jonathan Druart 2013-10-24 15:08:31 UTC Comment hidden (obsolete)
Comment 2 Joy Nelson 2013-10-25 18:50:36 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2013-10-27 19:06:00 UTC
Created attachment 22455 [details] [review]
[PASSED QA] Bug 11132: The results list is reset on adding a biblio to a list

A "busc" param is cleared if the template name is not opac-.*detail.tt.
So if a user adds a biblio to a list, he cannot continue to browse
results.

Test plan:
- launch a search at the OPAC (opac-search.pl).
- click on a result and browse results (using previous/next links).
- a title attract your attention and you add it to a list
  ("Save to yours lists" link on the right).
- save the list.
- browse again results.

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested according to test plan, also checked some other pages and actions
accessible from the detail page.
Passes all tests and QA script.
Comment 4 Galen Charlton 2013-11-01 00:43:12 UTC
Pushed to master.  Thanks, Jonathan!
Comment 5 Tomás Cohen Arazi 2013-12-08 15:10:04 UTC
This patch has been pushed to 3.12.x, will be in 3.12.8.

Thanks Jonathan!