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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

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.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/