Bugzilla – Attachment 40937 Details for
Bug 14181
MARC21 773 -- Display when ind1 = 0 or blank
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14181 : MARC21 773 -- Display when ind1 = 0 or blank
PASSED-QA-Bug-14181--MARC21-773----Display-when-in.patch (text/plain), 2.75 KB, created by
Kyle M Hall (khall)
on 2015-07-10 15:52:27 UTC
(
hide
)
Description:
[PASSED QA] Bug 14181 : MARC21 773 -- Display when ind1 = 0 or blank
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-07-10 15:52:27 UTC
Size:
2.75 KB
patch
obsolete
>From 8e4763a601a250e9f6b77e7af2d55a8de501d029 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Mon, 11 May 2015 10:47:36 -0400 >Subject: [PATCH] [PASSED QA] Bug 14181 : MARC21 773 -- Display when ind1 = 0 or blank > >Display 773 in opac and staff details when ind1 !=1 > >Test plan >========= > >1/ Add a new record which uses the 773 field to an instance running > master code. (the selected MARC framework should have the 773's > relevant sub-fields enabled and visible on staff client, opac and > the editor). >2/ Set ind1 as '0' (zero). The note should be displayed both on OPAC > as well as the staff client. >3/ Reset ind1 with a non-zero value or leave it blank. The display > note should no longer be visible from either client or opac. >4/ Apply the patch. >5/ Repeat step #1 and #2. The note is displayed on staff and opac. >6/ Repeat step #3. The display note should be visible on both staff > and opac. >7/ run koha-qa.pl -c 1 -v 2 > >Note : For #1 above, the following LoC record was used: > http://www.loc.gov/marc/bibliographic/examples.html#monographic > > The patch applied cleanly and performed as expected. > > The koha-qa.pl gave OK as results. > >Signed-off-by: Indranil Das Gupta <indradg@gmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 73a2126..05ecc42 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -809,7 +809,7 @@ > <!-- 773 --> > <xsl:if test="marc:datafield[@tag=773]"> > <xsl:for-each select="marc:datafield[@tag=773]"> >- <xsl:if test="@ind1=0"> >+ <xsl:if test="@ind1 !=1"> > <span class="results_summary in"><span class="label"> > <xsl:choose> > <xsl:when test="@ind2=' '"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 695c39f..c51a47a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -918,7 +918,7 @@ > <!-- 773 --> > <xsl:if test="marc:datafield[@tag=773]"> > <xsl:for-each select="marc:datafield[@tag=773]"> >- <xsl:if test="@ind1=0"> >+ <xsl:if test="@ind1 !=1"> > <span class="results_summary in"><span class="label"> > <xsl:choose> > <xsl:when test="@ind2=' '"> >-- >1.7.2.5
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 14181
:
39050
|
39054
| 40937