Bugzilla – Attachment 110025 Details for
Bug 24322
National Library of Medicine (NLM) call number to XSLT Detail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24322: National Library of Medicine (NLM) call number to XSLT Detail
Bug-24322-National-Library-of-Medicine-NLM-call-nu.patch (text/plain), 3.40 KB, created by
Katrin Fischer
on 2020-09-13 22:02:45 UTC
(
hide
)
Description:
Bug 24322: National Library of Medicine (NLM) call number to XSLT Detail
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-13 22:02:45 UTC
Size:
3.40 KB
patch
obsolete
>From f8f5acf735621715e44871766997a3d06ccc86c0 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@hypernova.fi> >Date: Sun, 13 Sep 2020 23:57:41 +0200 >Subject: [PATCH] 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". >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 17 +++++++++++++++++ > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 17 +++++++++++++++++ > 2 files changed, 34 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 16f727a0e1..e403352ffd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -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"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index f507ea428e..c3a9e422cc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -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"> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24322
:
96701
|
96973
|
110025
|
110096
|
110982