Bug 36563: Turn into array only if required
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 11 Apr 2024 10:40:16 +0000 (10:40 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 19 Apr 2024 13:55:54 +0000 (15:55 +0200)
commiteae74ed6d9935ee7247ccd85f9a1d502755ca338
treea4a47468ab37226921f7c2af105f26b4df12ad88
parent492d7be2ccba07f47771184fd5cc903383abb63b
Bug 36563: Turn into array only if required

Test plan, apply first patch:
1- Visit item search:
   http://localhost:8081/cgi-bin/koha/catalogue/itemsearch.pl
2- Set "Home library" -> "is not" -> "Centerville". Notice you get items
   from Centerville.
3- Apply second patch, repeat step 2, notice you now don't get items
   from Centervile.
4- Test other use cases, like 'is' and 'is not' for multiple choices

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
catalogue/itemsearch.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt