Bugzilla – Attachment 38078 Details for
Bug 13387
Uniform titles (130 / 240 / 730) Display in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13387 - Uniform titles (130 / 240 / 730) Display in XSLT
Bug-13387---Uniform-titles-130--240--730-Display-i.patch (text/plain), 2.57 KB, created by
Winona Salesky
on 2015-04-17 14:51:02 UTC
(
hide
)
Description:
Bug 13387 - Uniform titles (130 / 240 / 730) Display in XSLT
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2015-04-17 14:51:02 UTC
Size:
2.57 KB
patch
obsolete
>From ecd8c5a2f5210032b5b8d331a73d298c8f965a9d Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Fri, 17 Apr 2015 10:49:12 -0400 >Subject: [PATCH] Bug 13387 - Uniform titles (130 / 240 / 730) Display in XSLT > >Test Plan: >1) Apply this patch >2) Ensure you are using the default XSLT setting for the staff and opac record details >3) Find or create a record with MARC tags 130/240/730 >4) Perform an opac search that would show the record in the search results. >5) Click title to review record. >6) Fields show subfields a,d,f,g,h,k,l,m,n,o,p,r,s,t with multiple fields separated by span class=separator | >7) Repeat steps 4 - 6 for the staff interface >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > koha-tmpl/opac-tmpl/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 af9a59d..ab10fd1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -507,7 +507,7 @@ > <span class="results_summary uniform_title"><span class="label">Uniform titles: </span> > <xsl:for-each select="marc:datafield[@tag=130]|marc:datafield[@tag=240]|marc:datafield[@tag=730][@ind2!=2]"> > <xsl:for-each select="marc:subfield"> >- <xsl:if test="contains('abcknps',@code)"> >+ <xsl:if test="contains('adfghklmnoprst',@code)"> > <xsl:value-of select="text()"/> > <xsl:text> </xsl:text> > </xsl:if> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 734c364..a72ecd2 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -553,7 +553,7 @@ > <xsl:for-each select="marc:datafield[@tag=130]|marc:datafield[@tag=240]|marc:datafield[@tag=730][@ind2!=2]"> > <span property="alternateName"> > <xsl:for-each select="marc:subfield"> >- <xsl:if test="contains('abcknps',@code)"> >+ <xsl:if test="contains('adfghklmnoprst',@code)"> > <xsl:value-of select="text()"/> > <xsl:text> </xsl:text> > </xsl:if> >-- >2.3.2 (Apple Git-55)
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 13387
:
36903
|
37217
|
38078
|
38619
|
39927
|
40938