[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
Fri Jul 12 16:16:11 CEST 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16238|0                           |1
        is obsolete|                            |

--- Comment #35 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 19596
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19596&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>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list