Bug 16765

Summary: Subject links in XSLT detail display do not break into subdivisions
Product: Koha Reporter: Andy Boze <Boze.1>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P3 CC: indradg, marjorie.barry-vila
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Illustration of the difference between XSLT and non-XSLT subject links

Description Andy Boze 2016-06-17 19:55:32 UTC
Created attachment 52501 [details]
Illustration of the difference between XSLT and non-XSLT subject links

Version: 3.22.04.000
Also tested on older versions and 16.05.00.000 (Catalyst demo site)

Using the non-XSLT detail display, subject links are broken up into increasingly detailed subdivisions that can be clicked on. In the attached image, you can see in the first three screen captures that each subject subdivision is a separate link, and creates a search at that level of the subject. It also conveniently provides a tooltip that shows which MARC subfield the subdivision is coming from. 

The fourth screen capture shows what happens when the XSLT display is in effect. The entire subject with all subfields are treated as a single search. The subfields cannot be searched separately.

Note the the same behavior applies to the links for additional authors.

It would be great to have the XSLT option work the same way as the non-XSLT option.

Settings for screen capture 4 (in attachment)
 OPACXSLTDetailsDisplay = default
 TraceSubjectSubdivisions = Include

Settings for screen capture 1-3 (in attachment)
 OPACXSLTDetailsDisplay = (empty, no XSLT)
 TraceSubjectSubdivisions = Include