Bugzilla – Attachment 59117 Details for
Bug 17823
XSLT: Add label for MARC 583 - Action note
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17823: Add label for MARC 583 - Action note
Bug-17823-Add-label-for-MARC-583---Action-note.patch (text/plain), 2.91 KB, created by
Karen
on 2017-01-17 22:50:01 UTC
(
hide
)
Description:
Bug 17823: Add label for MARC 583 - Action note
Filename:
MIME Type:
Creator:
Karen
Created:
2017-01-17 22:50:01 UTC
Size:
2.91 KB
patch
obsolete
>From b379ffa19845bb7cbc43cd38804060935d7810f9 Mon Sep 17 00:00:00 2001 >From: Karen Jen <karenliang.student@wegc.school.nz> >Date: Tue, 17 Jan 2017 22:46:02 +0000 >Subject: [PATCH] Bug 17823: Add label for MARC 583 - Action note > >test plan >Edit a record >Edit field 583a to add an action note >Save the record and confirm that the note does not show up in staff >client or opac >Apply patch and refresh page >Action note should now show up in staff client and opac >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 21 +++++++++++++++++++++ > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 1 + > 2 files changed, 22 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index d22f35b..162c148 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -849,6 +849,27 @@ > </span> > </xsl:if> > >+ <!-- 583 --> >+ <xsl:if test="marc:datafield[@tag=583]"> >+ <xsl:for-each select="marc:datafield[@tag=583]"> >+ <xsl:if test="@ind1=1 or @ind1=' '"> >+ <span class="results_summary actionnote"> >+ <span class="label">Action note: </span> >+ <xsl:choose> >+ <xsl:when test="marc:subfield[@code='z']"> >+ <xsl:value-of select="marc:subfield[@code='z']"/> >+ </xsl:when> >+ <xsl:otherwise> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">abcdefgijklnou</xsl:with-param> >+ </xsl:call-template> >+ </xsl:otherwise> >+ </xsl:choose> >+ </span> >+ </xsl:if> >+ </xsl:for-each> >+ </xsl:if> >+ > <!-- 508 --> > <xsl:if test="marc:datafield[@tag=508]"> > <div class="results_summary prod_credits"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index a8622f3..c62d004 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -927,6 +927,7 @@ > <xsl:for-each select="marc:datafield[@tag=583]"> > <xsl:if test="@ind1=1 or @ind1=' '"> > <span class="results_summary actionnote"> >+ <span class="label">Action note: </span> > <xsl:choose> > <xsl:when test="marc:subfield[@code='z']"> > <xsl:value-of select="marc:subfield[@code='z']"/> >-- >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 17823
:
59117
|
59131
|
59236