From acfe6874f1b1e5de4a88f40bbb8554771f685bef Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Fri, 10 May 2013 09:32:17 +1200 Subject: [PATCH] Bug 6553 - Parentheses in Corporate author break tracings To test: If an author's name includes parentheses or other escape-characters, the tracing links produced in the OPAC fail in XSLT mode. This patch wraps the author names in double-quotes, providing the necessary escapement. Test plan: - Create a new framework, delete Thesaurus from 100 and other fields - Create a new record in this framework (or change an existing record to this framework) - Add 100$a - use parentheses - Check the search links in OPAC detail pages Signed-off-by: Mirko Tietgen Signed-off-by: Katrin Fischer XSLT change adding quotes. Search now matches search in the intranet. Passes all tests. Signed-off-by: Galen Charlton (cherry picked from commit 41409f500edf495db114b2277f4916e5a737a0aa) Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 45c883c3e509eacf2a1e3737db6bb6e7c4a9d2d8) Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit 45c883c3e509eacf2a1e3737db6bb6e7c4a9d2d8) --- koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 2208e4b99f..9175a759f9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -898,10 +898,10 @@ - /cgi-bin/koha/opac-search.pl?q=an: + /cgi-bin/koha/opac-search.pl?q=an:"" - /cgi-bin/koha/opac-search.pl?q=au: + /cgi-bin/koha/opac-search.pl?q=au:"" @@ -923,7 +923,7 @@ - /cgi-bin/koha/opac-authoritiesdetail.pl?authid= + /cgi-bin/koha/opac-authoritiesdetail.pl?authid="" -- 2.39.5