]> git.koha-community.org Git - koha.git/commit
Bug 3326: Work around Zebra's handling of & entities
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Tue, 15 Mar 2011 02:14:19 +0000 (22:14 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 16 Mar 2011 07:48:50 +0000 (20:48 +1300)
commitd52f3680f482a42cc98ad9810c011c8775d9b3ee
treef576786dfc69c5be07d5552ce62c9379d99a2f49
parent74c37aeeb63bc1a2548bc52603e391826627cd8f
Bug 3326: Work around Zebra's handling of &amp; entities

When using XSLT mode, the OPAC results display will show "&amp;" instead of "&"
when Zebra is indexing in XML mode. This patch works around this by replacing
"&amp;" with "&" and then extends the previous fix to apply to all occurrences
of "& " instead of just the first.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Search.pm
C4/XSLT.pm