Bugzilla – Attachment 93740 Details for
Bug 23731
Display LC call number in OPAC and staff detail pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23731: Add LOC classification number
Bug-23731-Add-LOC-classification-number.patch (text/plain), 2.81 KB, created by
Lucas Gass (lukeg)
on 2019-10-04 10:58:07 UTC
(
hide
)
Description:
Bug 23731: Add LOC classification number
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2019-10-04 10:58:07 UTC
Size:
2.81 KB
patch
obsolete
>From d0bae9450ba099615387f4a178316b2d2b2d0f42 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 3 Oct 2019 01:37:22 +0000 >Subject: [PATCH] Bug 23731: Add LOC classification number > >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++++++++ > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 16 ++++++++++++---- > 2 files changed, 24 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index afa2929f38..467eb55733 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -877,6 +877,18 @@ > </span> > </xsl:if> > >+<!-- LOC classification --> >+ <xsl:if test="marc:datafield[@tag=050]"> >+ <span class="results_summary loc"> >+ <span class="label">LOC classification number: </span> >+ <xsl:for-each select="marc:datafield[@tag=050]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </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 be74affec9..ef8494afe6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -947,6 +947,18 @@ > </span> > </xsl:if> > >+<!-- LOC classification --> >+ <xsl:if test="marc:datafield[@tag=050]"> >+ <span class="results_summary loc"> >+ <span class="label">LOC classification number: </span> >+ <xsl:for-each select="marc:datafield[@tag=050]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <!-- Other classification --> > <xsl:if test="marc:datafield[@tag=084]"> > <span class="results_summary oc"> >@@ -956,10 +968,6 @@ > <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> >-- >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 23731
:
93597
|
93740
|
93754
|
93756
|
93841