Bugzilla – Attachment 44615 Details for
Bug 15100
MARC21: Display of $d for 7xx and 1xx fields should be optional
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15100 - MARC21: Display of $d for 7xx and 1xx fields should be optional
Bug-15100---MARC21-Display-of-d-for-7xx-and-1xx-fi.patch (text/plain), 3.46 KB, created by
Héctor Eduardo Castro Avalos
on 2015-11-08 05:28:34 UTC
(
hide
)
Description:
Bug 15100 - MARC21: Display of $d for 7xx and 1xx fields should be optional
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-11-08 05:28:34 UTC
Size:
3.46 KB
patch
obsolete
>From 0efa8748ac57ae11982b087b7d671796219f0e0e Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Sat, 7 Nov 2015 23:03:50 -0600 >Subject: [PATCH] Bug 15100 - MARC21: Display of $d for 7xx and 1xx fields > should be optional > >Remove $d - Dates associated with a name for Main entries (1XX) and >Added entries (7XX) > >To test: >-Download and stage marc records with $d subfield for 1XX and 7XX >or download from this attchment <http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36515> >-Reindex zebra >-Search whichever or all records >-Notice that subfield $d is present in all 1XX and 7XX in results and >detail record page >-Apply patch >-Search again and see that the subfield $d is not shown in results and >detail record page >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 6 +++--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 4 ++-- > 2 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 466b41f..d3bb8d4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -1291,8 +1291,8 @@ > <xsl:with-param name="codes"> > <xsl:choose> > <!-- #13383 include subfield e for field 111 --> >- <xsl:when test="@tag=111">abcdeqt</xsl:when> >- <xsl:otherwise>abcdjqt</xsl:otherwise> >+ <xsl:when test="@tag=111">abceqt</xsl:when> >+ <xsl:otherwise>abcjqt</xsl:otherwise> > </xsl:choose> > </xsl:with-param> > </xsl:call-template> >@@ -1307,7 +1307,7 @@ > <xsl:when test="@tag=700 or @tag=710 or @tag=711"> > <xsl:variable name="str"> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">abcdfghiklmnoprstux</xsl:with-param> >+ <xsl:with-param name="codes">abcfghiklmnoprstux</xsl:with-param> > </xsl:call-template> > </xsl:variable> > <xsl:call-template name="chopPunctuation"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 39ac70d..551856d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -469,8 +469,8 @@ > <xsl:with-param name="codes"> > <xsl:choose> > <!-- #13383 include subfield e for field 111 --> >- <xsl:when test="@tag=111">abcdeqt</xsl:when> >- <xsl:otherwise>abcdjqt</xsl:otherwise> >+ <xsl:when test="@tag=111">abceqt</xsl:when> >+ <xsl:otherwise>abcjqt</xsl:otherwise> > </xsl:choose> > </xsl:with-param> > </xsl:call-template> >-- >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 15100
:
44614
|
44615
|
45072
|
45093
|
46412