[Koha-bugs] [Bug 7092] Complete-subfield searches TraceCompleteSubfields syspref not working correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 2 13:56:08 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7092

--- Comment #2 from Magnus Enger <magnus at enger.priv.no> ---
<magnuse> jcamins: got any hunches about bug 7092? like where to start digging? 
<jcamins> magnuse: yes. Try changing the {} quotes to "".
<jcamins> magnuse: alternatively, use complete-field instead of
complete-subfield.
<magnuse> ok, that gives me somewhere to start - thank you very much! 
<magnuse> jcamins: chaning {} to "" seems to solve it! 
<jcamins> magnuse: yeah, Search.pm doesn't play well with ICU.
<magnuse> jcamins: so a patch to replace {} with "" in the XSLT would solve bug
7092? or is it more of a quick and dirty workaround? 
<jcamins> magnuse: alas, it will *cause* bug 7092 on the installations that are
still working.
<magnuse> jcamins: ?? 
<magnuse> sounds like catch 22 or something, then...
<jcamins> magnuse: C4::Search can't handle regular quotes with ICU enabled.
<jcamins> magnuse: without ICU, C4::Search apparently can't handle {}
<magnuse> ah, so what should be used depends on whether icu is used or not? 
<jcamins> That's what I've concluded.
<magnuse> nice
<jcamins> And, of course, you can't tell whether ICU is enabled.
<magnuse> what to do then? add a syspref to choose {} or ""? 
<jcamins> magnuse: that's the best idea I can come up with.
<magnuse> hm, i might try and add the syspref, then
<magnuse> probably better to call it e.g. TraceCompleteSubfieldsQuoting than
UseICU, right? cause it wouldn't actually influence the indexing...
<jcamins> Better TracingQuotes or something like that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-bugs/attachments/20120302/0fc480d2/attachment.htm>


More information about the Koha-bugs mailing list