Bug 40876 added an exact match constraint on column filtering. However, it looks like historically, there were such filters on itemtypes and library (option values are in the form of "^XXX$") but are not applied anymore. Steps to reproduce: 1 - Create a library with code "M" and an itemtype with code "B". 2 - Go on /cgi-bin/koha/catalogue/detail.pl?biblionumber=233 (a biblio with items from midway (MPL) and books (BK) 3 - Filter using library and itemtype created in 1 -> you will get some new filters
Created attachment 190057 [details] [review] Bug 41341: [WIP] Reestablish exact matching on library/items Test plan 1 - Create a library with code "M" and an itemtype with code "B". 2 - Go on /cgi-bin/koha/catalogue/detail.pl?biblionumber=233 (a biblio with items from midway (MPL) and books (BK) 3 - Filter using library and itemtype created in 1 -> you will get some new filters 4 - Apply patch 5 - Test 3 again -> you should have no result anymore. 6 - Check that filters still work on libraries/items
Created attachment 190072 [details] [review] Bug 41341: Do not search the description if filter is selected in the header For coded values we have a dropdown list with the list of the possible options, we should not search on the description Test plan: If you have CPL => Centerville C => CCC No items should be listed on catalogue/detail.pl?biblionumber=4 if you select Current library => 'CCC'