Bug 24322: National Library of Medicine (NLM) call number to XSLT Detail
This adds MARC21 060 - National Library of Medicine Call Number https://www.loc.gov/marc/bibliographic/bd060.html To test: - Catalog records using the 060, examples can be found in the LOC documentation. - Verify that the field displays on the detail pages in staff and OPAC Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> RRescued this patch by redoing the changes. Only change made was moving the section up before "Other classification". Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
0efa9a917b
commit
6824b93b02
|
|
@ -948,6 +948,23 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- NLM classification -->
|
||||
<xsl:if test="marc:datafield[@tag=060]">
|
||||
<span class="results_summary nlm">
|
||||
<span class="label">NLM classification: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=060]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when>
|
||||
<xsl:otherwise> | </xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Other classification -->
|
||||
<xsl:if test="marc:datafield[@tag=084]">
|
||||
<span class="results_summary oc">
|
||||
|
|
|
|||
|
|
@ -1000,6 +1000,23 @@
|
|||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- NLM classification -->
|
||||
<xsl:if test="marc:datafield[@tag=060]">
|
||||
<span class="results_summary nlm">
|
||||
<span class="label">NLM classification: </span>
|
||||
<xsl:for-each select="marc:datafield[@tag=060]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">a</xsl:with-param>
|
||||
<xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when>
|
||||
<xsl:otherwise> | </xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Other classification -->
|
||||
<xsl:if test="marc:datafield[@tag=084]">
|
||||
<span class="results_summary oc">
|
||||
|
|
|
|||
Loading…
Reference in New Issue