From 42fc1de563d10920410895ccbfc7cad741f0e57e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 11 Mar 2013 13:06:44 -0400 Subject: [PATCH] Bug 9212 - Parentheses in subject headings break search Subjects links for subjects with parentheses will not give any results. Test Plan: 1) In the OPAC, try clicking a subject link that contains parentheses, you should get an error 2) Apply the patch 3) Repeat step 1, this time it should work correctly. --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 6321efd..fcf4aac 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -665,7 +665,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { + value="su,wrdl:[% '"' _ SUBFIELD.value _ '"' | url %]" /> diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 5130e8b..09e6665 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -519,7 +519,7 @@ - /cgi-bin/koha/opac-search.pl?q=su: + /cgi-bin/koha/opac-search.pl?q=su:"" -- 1.7.2.5