Bug 6553 - Parentheses in Corporate author break tracings
authorLiz Rea <liz@catalyst.net.nz>
Thu, 9 May 2013 21:32:17 +0000 (09:32 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 1 Jul 2013 02:06:17 +0000 (19:06 -0700)
commit41409f500edf495db114b2277f4916e5a737a0aa
tree8924c422ca305f3de02f5149224b1b6981941eb1
parent9af08e4e2d2091de489633b3f1c4fb03fcf323cd
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 <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
XSLT change adding quotes. Search now matches search in the intranet.
Passes all tests.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl