Summary: | Search result set is lost when viewing the MARC plain view (opac-showmarc.pl) | ||
---|---|---|---|
Product: | Koha | Reporter: | Timothy Alexis Vass <timothy_alexis.vass> |
Component: | OPAC | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Kyle M Hall (khall) <kyle> |
Severity: | minor | ||
Priority: | P5 - low | CC: | fridolin.somers, kyle, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.11.00,21.05.02,20.11.08
|
|
Circulation function: | |||
Attachments: |
Bug 28388: Preserve "Browse results" when "view plain" is clicked
Bug 28388: Preserve "Browse results" when "view plain" is clicked Bug 28388: Preserve "Browse results" when "view plain" is clicked |
Description
Timothy Alexis Vass
2021-05-19 13:06:16 UTC
Created attachment 121269 [details] [review] Bug 28388: Preserve "Browse results" when "view plain" is clicked "view plan" will hit opac-showmarc.pl and the "busc" containing the info will be removed from the session Created attachment 121339 [details] [review] Bug 28388: Preserve "Browse results" when "view plain" is clicked This patch modifies the way search sessions are preserved in the OPAC so that viewing the "plain MARC" view will not cause the search context to be lost. To test, apply the patch and make sure OpacBrowseResults is enabled. - Perform a search in the OPAC which will return multiple search results. - View the details of one of the search results. - You should see a "Browse results" box in the right-hand sidebar. - Click the "MARC view" link. - If you click back to the "Normal view" now, the results browser should still appear. - From the MARC view, click the "view plain" link. - Return to the "Normal view." - Before the patch: The results browser is gone. - After the patch: The results browser is still there. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 121489 [details] [review] Bug 28388: Preserve "Browse results" when "view plain" is clicked This patch modifies the way search sessions are preserved in the OPAC so that viewing the "plain MARC" view will not cause the search context to be lost. To test, apply the patch and make sure OpacBrowseResults is enabled. - Perform a search in the OPAC which will return multiple search results. - View the details of one of the search results. - You should see a "Browse results" box in the right-hand sidebar. - Click the "MARC view" link. - If you click back to the "Normal view" now, the results browser should still appear. - From the MARC view, click the "view plain" link. - Return to the "Normal view." - Before the patch: The results browser is gone. - After the patch: The results browser is still there. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed to master for 21.11, thanks to everybody involved! Pushed to 21.05.x for 21.05.02 Pushed to 20.11.x for 20.11.08 Not backported to oldoldstable (20.05.x). Feel free to ask if it's needed. |