[Koha-bugs] [Bug 7518] searches with quotation marks don't work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 18 14:27:13 CET 2013


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

--- Comment #19 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 16238
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16238&action=edit
Bug 7518: searches with quotation marks don't work

A search term without quotation marks returns the expected results.
The same search term with quotation marks returns no results.
Koha should ignore the quotation marks and return results anyway.

This appears when  QueryWeightFields syspref is activated. This feature
composes a complex CCL query using double quotes around search words.
This patch simply replaces double quotes in search words by a space.

Test plan :
- Set QueryWeightFields off
- Perform a serch on two words where you have results, like : centre "ville
=> you get results
- Set QueryWeightFields on
- Perform same serch
=> you get the same results

Signed-off-by: Leila <koha.aixmarseille at gmail.com>

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


More information about the Koha-bugs mailing list