https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18961

Marc Véron <ve...@veron.ch> changed:

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

--- Comment #2 from Marc Véron <ve...@veron.ch> ---
Created attachment 67924
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67924&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

Followed test plan, works as expected.
Signed-off-by: Marc Véron <ve...@veron.ch>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to