[Koha-bugs] [Bug 18961] Datatable column filters of style 'select' should do an exact match
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 10 17:21:47 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18961
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 67883
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67883&action=edit
Bug 18961: Use exact match for select filters on item search
The SQL operator LIKE is always used for filters when searching for
items.
If the filter is a select, we should search for an exact match.
That way we avoid problematic search like "%NFIC%" and "%FIC%" (one
includes the other one).
Test plan:
- Make sure you have collection codes 'Fiction' and 'Non-fiction'
- Do an item search
- Filter column 'Collection', select 'Fiction'
- Result: Column contains items from Fiction only
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list