Bugzilla – Attachment 38070 Details for
Bug 13385
RDA: 508 display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13385: Add field 508 to XSLT (OPAC and staff)
Bug-13385-Add-field-508-to-XSLT-OPAC-and-staff.patch (text/plain), 2.96 KB, created by
Marcel de Rooy
on 2015-04-17 13:57:52 UTC
(
hide
)
Description:
Bug 13385: Add field 508 to XSLT (OPAC and staff)
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-04-17 13:57:52 UTC
Size:
2.96 KB
patch
obsolete
>From 77a2a680d401224a13463d99f7ab24db1b7c2950 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Mon, 9 Mar 2015 11:58:37 -0400 >Subject: [PATCH] Bug 13385: Add field 508 to XSLT (OPAC and staff) >Content-Type: text/plain; charset=utf-8 > >This patch adds field 508 to the XSLT display in the staff and OPAC view. >Display includes subfield a. > >To test: >* Search the opac >* Click the title >* Make sure the fields display properly >* Repeat for a few more titles >* Repeat in the Staff Client > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Adjusted commit message. Only subfield a is relevant here. >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 12 ++++++++++++ > .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 12 ++++++++++++ > 2 files changed, 24 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 349dbea..3473741 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -647,6 +647,18 @@ > </div> > </xsl:if> > >+ <!-- Bug 13385 Added 508 field --> >+ <xsl:if test="marc:datafield[@tag=508]"> >+ <div class="results_summary prod_credits"> >+ <span class="label">Production Credits: </span> >+ <xsl:for-each select="marc:datafield[@tag=508]"> >+ <xsl:call-template name="subfieldSelectSpan"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </div> >+ </xsl:if> >+ > <!-- 773 --> > <xsl:if test="marc:datafield[@tag=773]"> > <xsl:for-each select="marc:datafield[@tag=773]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 11624c4..f919439 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -761,6 +761,18 @@ > </xsl:for-each> > </xsl:if> > >+ <!-- Bug 13385 Added 508 field --> >+ <xsl:if test="marc:datafield[@tag=508]"> >+ <div class="results_summary prod_credits"> >+ <span class="label">Production Credits: </span> >+ <xsl:for-each select="marc:datafield[@tag=508]"> >+ <xsl:call-template name="subfieldSelectSpan"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </div> >+ </xsl:if> >+ > <!-- 586 --> > <xsl:if test="marc:datafield[@tag=586]"> > <xsl:for-each select="marc:datafield[@tag=586]"> >-- >1.7.10.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 13385
:
36785
|
37248
| 38070