]> git.koha-community.org Git - koha.git/commit
Bug 10500: (follow-up) disable AggressiveMatchOnISBN if UseQueryParser is on
authorGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 19:31:00 +0000 (19:31 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 19:31:00 +0000 (19:31 +0000)
commit036f2a50e11dab97ef8509f2f585c4cc407ea728
treeccacb2628d5f1594a5eb3d008d92457abb0bb076
parente67463e8b18565d677ea57e63bdbb6a56992037f
Bug 10500: (follow-up) disable AggressiveMatchOnISBN if UseQueryParser is on

The original patch did not correctly construction ISBN phrase
searches when QP is on.  Unfortunately, when attempting to fix that,
I discovered that there's a deep bug in QP that makes it generate
incorrect search queries when combining more than two atoms
in with the || operator.  Consequently, until that can be fixed,
this patch ensures that if UseQueryParser is on, AggressiveMatchOnISBN
has no effect.

To state it anther way, AggressiveMatchOnISBN works only when QP
is not in use.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Matcher.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref