[Koha-bugs] [Bug 19606] New: 773$g is not showing if 773$0 - MARC21slim2OPACDetail.xsl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 10 10:29:20 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19606

            Bug ID: 19606
           Summary: 773$g is not showing if 773$0 -
                    MARC21slim2OPACDetail.xsl
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: hagud at orex.es
        QA Contact: testopia at bugs.koha-community.org

we have seen a possible bug in MARC21slim2OPACDetail.xsl

We have identified for those bibliographic records that have 773$t and 773$g
and 773$0, Koha only show 773$t, because 773$g is not declare when 773$0, it is
declared in all other cases.


It is-->
<xsl:when test="marc:subfield[@code='0']">
 <a><xsl:attribute
name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of
select="marc:subfield[@code='0']"/></xsl:attribute>
 <xsl:value-of select="$f773"/>
 </a>

It is -->
 <xsl:when test="marc:subfield[@code='0']">
 <a><xsl:attribute
name="href">/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of
select="marc:subfield[@code='0']"/></xsl:attribute>
 <xsl:value-of select="$f773"/>
 </a>

<xsl:if test="marc:subfield[@code='g']"><xsl:text>; </xsl:text><xsl:value-of
select="marc:subfield[@code='g']"/></xsl:if>
 </xsl:when>

do you agree?

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


More information about the Koha-bugs mailing list