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)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jan 2012 13:11:35 +0000 (14:11 +0100)
commit4cd81a8d0f2eeccc71d2b1409f35c8ee57314b8a
treed44b6b26bd8ac9aa558b042e605ea3c62dccfe8e
parent37e1f05e8f8617883c02ff1b57f36a4fff3a39ae
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>
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