Bugzilla – Attachment 96701 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
0001-Bug-24322-National-Library-of-Medicine-NLM-call-numb.patch (text/plain), 3.10 KB, created by
Olli-Antti Kivilahti
on 2019-12-31 13:41:43 UTC
(
hide
)
Description:
Bug 24322 - National Library of Medicine (NLM) call number to XSLT Detail
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2019-12-31 13:41:43 UTC
Size:
3.10 KB
patch
obsolete
>From 8298b2c4e9a4a61c5ec9325812b441d798ccec12 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@hypernova.fi> >Date: Tue, 31 Dec 2019 15:40:11 +0200 >Subject: [PATCH] Bug 24322 - National Library of Medicine (NLM) call number to > XSLT Detail MARC21 060 > >NLM is missing from OPAC/Intra XSLTDetail. >--- > .../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 a1489bbe50..59f0ecdad5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -914,6 +914,23 @@ > </span> > </xsl:if> > >+<!-- NLM classification --> >+ <xsl:if test="marc:datafield[@tag=060]"> >+ <span class="results_summary ddc"> >+ <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> >+ > <xsl:if test="marc:datafield[@tag=856]"> > <span class="results_summary online_resources"><span class="label">Online resources: </span> > <xsl:for-each select="marc:datafield[@tag=856]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 80b32ebf43..2d4d0e9057 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -970,6 +970,23 @@ > </span> > </xsl:if> > >+<!-- NLM classification --> >+ <xsl:if test="marc:datafield[@tag=060]"> >+ <span class="results_summary ddc"> >+ <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> >+ > > <!-- Image processing code added here, takes precedence over text links including y3z text --> > <xsl:if test="marc:datafield[@tag=856]"> >-- >2.20.1 >
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