Bugzilla – Attachment 65186 Details for
Bug 15140
Add MARC21 776 to OPAC and staff display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15140: Display $i when ind2==8
Bug-15140-Display-i-when-ind28.patch (text/plain), 2.49 KB, created by
Nick Clemens
on 2017-07-21 14:10:47 UTC
(
hide
)
Description:
Bug 15140: Display $i when ind2==8
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2017-07-21 14:10:47 UTC
Size:
2.49 KB
patch
obsolete
>From 49990d13c25248c5bd382449ce9733f0fa913a07 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 1 May 2017 13:04:07 +0200 >Subject: [PATCH] Bug 15140: Display $i when ind2==8 > >See MARC specification. >Note that we have a preceding text before all 776s too. > >Test plan: >[1] Set field 776 ind2 to 8. And add text in $i. >[2] Look for this text on OPAC detail and staff detail. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Felix Hemme <felix.hemme@thulb.uni-jena.de> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 6 ++++++ > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 6 ++++++ > 2 files changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 23131bd..d4c751b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -771,6 +771,12 @@ > </xsl:otherwise> > </xsl:choose> > </xsl:variable> >+ <xsl:if test="@ind2=8 and marc:subfield[@code='i']"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">i</xsl:with-param> >+ </xsl:call-template> >+ <xsl:text>: </xsl:text> >+ </xsl:if> > <xsl:choose> > <xsl:when test="marc:subfield[@code='w']"> > <a> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 74da731..a6a1198 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -823,6 +823,12 @@ > </xsl:otherwise> > </xsl:choose> > </xsl:variable> >+ <xsl:if test="@ind2=8 and marc:subfield[@code='i']"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">i</xsl:with-param> >+ </xsl:call-template> >+ <xsl:text>: </xsl:text> >+ </xsl:if> > <xsl:choose> > <xsl:when test="marc:subfield[@code='w']"> > <a> >-- >2.1.4
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 15140
:
61161
|
61162
|
61351
|
62531
|
62908
|
63232
|
63233
|
65185
| 65186 |
65187