From f79df8a3b026fcaf08f77335cc37f762a6f49574 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 --- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 6 +++--- 1 files 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 5130e8b..4f273ee 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -958,10 +958,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:"" @@ -983,7 +983,7 @@ - /cgi-bin/koha/opac-authoritiesdetail.pl?authid= + /cgi-bin/koha/opac-authoritiesdetail.pl?authid="" -- 1.7.2.5