Bug 5369: se queries with paranthesis fail
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 28 Nov 2011 06:25:37 +0000 (07:25 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 21 Jan 2012 04:40:03 +0000 (23:40 -0500)
commit9158441356e12791e88fed3ec3ef698dde645228
tree4a8e1baf0699006e80c607179292aac0d8316468
parent13a4668839852b71b71ab1bff3b064409ad14782
Bug 5369: se queries with paranthesis fail

This patch does several things to make the search work better:

1) Adding "" around search terms for queries on index se.
2) Make links for 8xx obey the UseControlNumber system preference
3) Fix the indexing for 8xx fields, as they were not included in the se index before

Note: Make sure you copy the new record.abs into your koha-dev directory and reindex
before testing.

To test:
1) Add records using the following fields:
440$a
490$a ind. 1 = empty or 0
490$a ind. 1 = 1
800$a, 810$a, 811$a or 830$a

Example value taken form bug description, should only work after applying the patch:
DHEW publication no. (HSM) 73-1804

Please also test with other examples.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 4cd81a8d0f2eeccc71d2b1409f35c8ee57314b8a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 7a54bc53f6fcc8e1002e5397203cbc584dc31cb2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
etc/zebradb/marc_defs/marc21/biblios/record.abs
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl