[Koha-bugs] [Bug 11410] Cataloging search finds no results for searches with ampersands

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 21 00:49:58 CET 2013


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

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 23742
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23742&action=edit
[PASSED QA] Bug 11410 - Cataloging search finds no results for searches with
ampersands

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.

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 at nekls.org>
Signed-off-by: Suzanne Fayle <sfayle at roseman.edu>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at 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".

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


More information about the Koha-bugs mailing list