Bugzilla – Attachment 36785 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]
RDA: Added field 508 in XSLT
0001-Added-field-508-bug-13385.patch (text/plain), 2.96 KB, created by
Winona Salesky
on 2015-03-11 02:23:31 UTC
(
hide
)
Description:
RDA: Added field 508 in XSLT
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-03-11 02:23:31 UTC
Size:
2.96 KB
patch
obsolete
>From 4f76093084f2fce5216b017a14a9697b31e920a8 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Mon, 9 Mar 2015 11:58:37 -0400 >Subject: [PATCH] Added field 508 bug #13385 > >This patch adds field 508 to the XSLT display in the staff and OPAC view. > >Display includes subfields a,b,c,h,k,n,p,s >Subfield c is wrapped in a span class=title_resp_stmt for easy suppression via css. >Subfield h is wrapped in a <span class=title_medium for easy suppression via css. > >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 > >--- > .../intranet-tmpl/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..ebfe47b 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..5dae1c8 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.9.5 (Apple Git-50.3) >
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