]> git.koha-community.org Git - koha.git/commit
Bug 7695 - Change boolean operator from "and" to "AND"
authorMagnus Enger <magnus@enger.priv.no>
Tue, 20 Mar 2012 12:45:48 +0000 (13:45 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 8 May 2012 21:49:29 +0000 (17:49 -0400)
commit6065eae7174e3ea0f71f2c464749134cd09793b5
treebd9c4e8fa0b93e834b78a63bc8ee0b2429a18806
parentf5780c4cb5066f47ea1d2f0488a0bc9a46110448
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.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Easy to test and works as advertised.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl