Bugzilla – Attachment 5843 Details for
Bug 7007
490 not displaying without indicator 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7007: 490 series statements should appear when not traced
Bug-7007-490-series-statements-should-appear-when-.patch (text/plain), 2.30 KB, created by
Jared Camins-Esakov
on 2011-10-11 19:25:53 UTC
(
hide
)
Description:
Bug 7007: 490 series statements should appear when not traced
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2011-10-11 19:25:53 UTC
Size:
2.30 KB
patch
obsolete
>From 05b903c4be3f4f40ae1279e3256cb803dac3b9b7 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Tue, 11 Oct 2011 15:21:04 -0400 >Subject: [PATCH] Bug 7007: 490 series statements should appear when not traced >Content-Type: text/plain; charset="UTF-8" > >Although the MARC21 standard requires libraries to set the first indicator to >'0' when a 490 field is untraced, many libraries leave it blank. Previously, >this resulted in a blank line with the label "Series:" but no actual series >information. This patch fixes that by showing untraced series headings for >490s whenever the first indicator is not set to '1' >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > .../prog/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 112a809..bc62748 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -166,7 +166,7 @@ > </xsl:for-each> > > <!-- 490 Series not traced, Ind1 = 0 --> >- <xsl:for-each select="marc:datafield[@tag=490][@ind1=0]"> >+ <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]"> > <a href="/cgi-bin/koha/catalogue/search.pl?q=se:{marc:subfield[@code='a']}"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 404293f..2fca378 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -224,7 +224,7 @@ > </xsl:for-each> > > <!-- 490 Series not traced, Ind1 = 0 --> >- <xsl:for-each select="marc:datafield[@tag=490][@ind1=0]"> >+ <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]"> > <a href="/cgi-bin/koha/opac-search.pl?q=se:{marc:subfield[@code='a']}"> > <xsl:call-template name="chopPunctuation"> > <xsl:with-param name="chopString"> >-- >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 7007
:
5843
|
5865