Bug 20888: Allow use of boolean operator 'not' in item search
commit781b5a41188c958213f409310f38ba49dcd13159
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Thu, 10 Jan 2019 09:48:38 +0000 (10 10:48 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:33 +0000 (4 12:59 +0100)
tree15c0896ed7956e9869ff725541bd30b6b5a6b91b
parentd80763c3714457bf14fd585513ab07d02b82c819
Bug 20888: Allow use of boolean operator 'not' in item search

Test plan:

 - Apply the patch
 - Check that you have a 'is not' option in the third box in item search
 - Check that you can exclude items from the search results with this 'is not' option
 - Check that you can still combine parameters with 'and' and 'or'
 - Check that the exclusion works for custom fields (see Administration > Item search fields)
 - Check that the exclusion works for custom fields linked to authorised values

Signed-off-by: Amandine Zocca <azocca@ville-montauban.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt