[Koha-bugs] [Bug 7695] Boolean operator AND in XSLT gets translated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 20 13:53:40 CET 2012


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

--- Comment #1 from Magnus Enger <magnus at enger.priv.no> ---
Created attachment 8346
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8346&action=edit
Bug 7695 - Change boolean operator from "and" to "AND"

When XSLTDetailsDisplay/OPACXSLTDetailsDisplay = on and
TraceSubjectSubdivisions = Include, subject sudivisions are
combined with the boolean operator "and". Currently, this word is
translated along with other occurrences of the same word, resulting
in a false "no records found" for users of non-English templates.

This patch replaces "and" with "AND" which should have no effect on
searching (since Zebra is case-insensitive in this regard) but will
make the boolean operator stand out from other uses of "and" in
translations.

TraceSubjectSubdivisions is currently only implemented in MARC21,
so UNIMARC and NORMARC is not affected.

To test:

XSLTDetailsDisplay/OPACXSLTDetailsDisplay = using XSLT
TraceSubjectSubdivisions = Include
marcflavour = MARC21

Find a record with a clickable subject that includes one or more
subdivisions and check that the subdivisions are combined with
"AND", not "and". Check that you get the expected result when
clicking on the subject.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list