97f836ef99
This enhancement adds the ability to search on all isbn variations when
searching on the isbn index.
Test plan:
0/ Don't apply the patch
1/ Create or choose a notice with an isbn with dashes.
2/ Try to search the notice using the isbn index by it isbn without
dashes.
=> It does not work.
3/ Apply the patch, enable the new pref SearchWithISBNVariations and
disable UseQueryParser.
4/ repeat 2 and note that the record is now returned.
Note that this only works if UseQueryParser is disabled.
It looks like QueryParser does not manage more than 1 operator.
See:
QueryParser does not manage more than 1 operator?
http://lists.koha-community.org/pipermail/koha-devel/2014-December/041028.html
and
commit
|
||
---|---|---|
.. | ||
acquisitions.pref | ||
admin.pref | ||
authorities.pref | ||
cataloguing.pref | ||
circulation.pref | ||
enhanced_content.pref | ||
i18n_l10n.pref | ||
local_use.pref | ||
logs.pref | ||
opac.pref | ||
patrons.pref | ||
searching.pref | ||
serials.pref | ||
staff_client.pref | ||
tools.pref | ||
web_services.pref |