Koha-clms/cataloguing
Kyle M Hall d7a7336dff Bug 11410: ensure cataloging search finds results for searches with ampersands
When QueryParser is off, the cataloging search is passing the incorrect
variable to SimpleSearch.  I'm sure this is causing other issues, but
the one I have identified is that any searches with an "&" in them
return no results.  This patch corrects the bug.

Test Plan:
1) Catalog a new record titled "Cats & Dogs"
2) Rebuild your zebra index so this record is indexed
3) Browse to cataloguing/addbooks.pl
4) Search for "Cats & Dogs"
5) Notice you get no results
6) Apply this patch
7) Repeat the search
8) Notice your result now shows up!

Signed-off-by: Heather Braum <hbraum@nekls.org>
Signed-off-by: Suzanne Fayle <sfayle@roseman.edu>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
This works as described, passes all tests and QA script.
Note: Because $query = $builtquery when the QueryParser is used,
this problem is only visible when UseQueryParser is set to "Don't try".

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 2a4e193c24)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
(cherry picked from commit 0c500f4630)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-01-15 14:23:54 -03:00
..
value_builder Bug 10331 - Little errors in unimarc_field_4XX.pl (punctuation) 2013-11-06 10:43:24 -03:00
addbiblio.pl Bug 11034: remove incorrect return for BiblioAutoLink 2013-12-05 12:08:04 -03:00
addbooks.pl Bug 11410: ensure cataloging search finds results for searches with ampersands 2014-01-15 14:23:54 -03:00
additem.pl Bug 10305 - _increment_barcode is called twice 2013-11-13 11:53:09 -03:00
linkitem.pl Bug 5528: Analytic records support 2011-10-13 10:03:39 +13:00
merge.pl Bug 7593: Move orders on the destination record when merging 2 records 2013-05-12 10:30:57 -04:00
merge_ajax.pl Bug 8860 - can't merge if you don't have fast cataloging permissions 2012-10-05 16:51:32 +02:00
moveitem.pl Bug 10504: Remove the unused C4::Acq::ModOrderItem routine 2013-07-25 12:35:31 -03:00
plugin_launcher.pl Bug 7356 - Fix various typos and mis-spellings 2012-01-13 11:51:26 +01:00
ysearch.pl Bug 8278: build the structure with to_json instead of manually. 2013-05-08 09:50:27 -04:00
z3950_search.pl Revert "Merge branch 'bug_6554' into 3.12-master" 2013-04-25 22:37:54 -04:00