[Koha-bugs] [Bug 8791] New: OPAC UNIMARC XSLT details : subject with subfield 3

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 19 11:43:09 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8791

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8791
          Assignee: oleonard at myacpl.org
           Summary: OPAC UNIMARC XSLT details : subject with subfield 3
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: fridolyn.somers at biblibre.com
          Hardware: All
            Status: NEW
           Version: master
         Component: OPAC
           Product: Koha

On OPAC details page with XSLT, when a subject field has $3, $9 and other
subfields, $9 is displayed instead of other subfields.

Example :
  <datafield tag="606" ind1=" " ind2=" ">
    <subfield code="9">331978</subfield>
    <subfield code="3">027214724</subfield>
    <subfield code="a">Revolution</subfield>
  </datafield>

This comes from UNIMARCslimUtils.xsl tag_onesubject template :
Subfields $2 and $3 stops the display variable computing.

Without XSLT, subjects are displayed with only non-numerical subfields
[a-zA-Z]. So $2 and $3 should just be avoid in display var.

Example should be displayed :
  <a href="/cgi-bin/koha/opac-search.pl?q=an:331978">Revolution</a>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list