Bugzilla – Attachment 13887 Details for
Bug 9212
Parentheses in subject headings break search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9212 - Parentheses in subject headings break search
Bug-9212---Parentheses-in-subject-headings-break-s.patch (text/plain), 2.40 KB, created by
Kyle M Hall (khall)
on 2012-12-04 18:44:15 UTC
(
hide
)
Description:
Bug 9212 - Parentheses in subject headings break search
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-12-04 18:44:15 UTC
Size:
2.40 KB
patch
obsolete
>From b3d388c623d6386a6b13d156623601a92dc31f0f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 4 Dec 2012 11:42:14 -0600 >Subject: [PATCH] Bug 9212 - Parentheses in subject headings break search > >--- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 1 + > .../opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 3 ++- > 2 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index 8d54517..3722e0f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -488,6 +488,7 @@ > <xsl:with-param name="delimeter"> AND </xsl:with-param> > <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param> > <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param> >+ <xsl:with-param name="quoteText">1</xsl:with-param> > </xsl:call-template> > </xsl:attribute> > </xsl:when> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >index df7c450..e9322ee 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >@@ -25,6 +25,7 @@ > <xsl:param name="delimeter"><xsl:text> </xsl:text></xsl:param> > <xsl:param name="subdivCodes"/> > <xsl:param name="subdivDelimiter"/> >+ <xsl:param name="quoteText"/> > <xsl:param name="prefix"/> > <xsl:param name="suffix"/> > <xsl:variable name="str"> >@@ -33,7 +34,7 @@ > <xsl:if test="contains($subdivCodes, @code)"> > <xsl:value-of select="$subdivDelimiter"/> > </xsl:if> >- <xsl:value-of select="$prefix"/><xsl:value-of select="text()"/><xsl:value-of select="$suffix"/><xsl:value-of select="$delimeter"/> >+ <xsl:value-of select="$prefix"/><xsl:if test="$quoteText">"</xsl:if><xsl:value-of select="text()"/><xsl:if test="$quoteText">"</xsl:if><xsl:value-of select="$suffix"/><xsl:value-of select="$delimeter"/> > </xsl:if> > </xsl:for-each> > </xsl:variable> >-- >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 9212
:
13887
|
16043
|
16105