Bug 19616: Add MARC21 505$g - Formatted Contents Note / Miscellaneous informatoin
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 13 Sep 2020 16:26:31 +0000 (16:26 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 8 Oct 2020 14:03:49 +0000 (16:03 +0200)
This adds the subfield $g to the display of the 505 field in
staff and OPAC detail pages.

To test:
- Catalog some records using variations of 505
  Examples can be found in the LOC documentation:
  https://www.loc.gov/marc/bibliographic/bd505.html
- Verify that the display in staff and OPAC is still nice
  and now includes $g

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl

index 0b21ec2..8bd38ad 100644 (file)
                         <xsl:choose>
                         <xsl:when test="@ind2=0">
                             <xsl:call-template name="subfieldSelectSpan">
-                                <xsl:with-param name="codes">tru</xsl:with-param>
+                                <xsl:with-param name="codes">trug</xsl:with-param>
                             </xsl:call-template>
                         </xsl:when>
                         <xsl:otherwise>
                             <xsl:call-template name="subfieldSelectSpan">
-                                <xsl:with-param name="codes">atru</xsl:with-param>
+                                <xsl:with-param name="codes">atrug</xsl:with-param>
                             </xsl:call-template>
                         </xsl:otherwise>
                         </xsl:choose>
index 042d01f..f4369eb 100644 (file)
         <xsl:choose>
         <xsl:when test="@ind2=0">
             <xsl:call-template name="subfieldSelectSpan">
-                <xsl:with-param name="codes">tru</xsl:with-param>
+                <xsl:with-param name="codes">trug</xsl:with-param>
             </xsl:call-template>
         </xsl:when>
         <xsl:otherwise>
             <xsl:call-template name="subfieldSelectSpan">
-                <xsl:with-param name="codes">atru</xsl:with-param>
+                <xsl:with-param name="codes">atrug</xsl:with-param>
             </xsl:call-template>
         </xsl:otherwise>
         </xsl:choose>