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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 May 2024 12:35:48 +0000 (14:35 +0200)
commit0513ffa58e512d149a44a9d4bd4750d182816e48
tree1d06a15a0ea9bb8638c4a9729c3d4641d22ca99f
parentd8ca12b404da1833ed7c8ae51ab69af6086705a6
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>
(cherry picked from commit eae74ed6d9935ee7247ccd85f9a1d502755ca338)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/itemsearch.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt