From: Liz Rea Date: Thu, 9 May 2013 21:32:17 +0000 (+1200) Subject: Bug 6553 - Parentheses in Corporate author break tracings X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=41409f500edf495db114b2277f4916e5a737a0aa 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 --- diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index e1e6546e3d..ad74c53661 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -959,10 +959,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:"" @@ -984,7 +984,7 @@ - /cgi-bin/koha/opac-authoritiesdetail.pl?authid= + /cgi-bin/koha/opac-authoritiesdetail.pl?authid=""