[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
Thu Mar 7 16:15:00 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7518
Fridolyn SOMERS <fridolyn.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #14187|0 |1
is obsolete| |
--- Comment #16 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 15936
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15936&action=edit
Proposed patch
Rewritten patch.
Problem comes only from C4::Seach::_build_weighted_query, depending on
QueryWeightFields syspref.
This code builds a complex CCL query using " around search words.
So if a search word contains a ", the CCL query is wrong and you get no
results.
This patch simply replaces " by a space in _build_weighted_query.
See commit comment.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list