Bug 31577: Use patron category multi-select for OpacHiddenItemsExceptions system...
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 19 Sep 2022 21:32:12 +0000 (21:32 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 17:15:27 +0000 (14:15 -0300)
commite982b7d953cbf20b37469770abd261fb47f82650
treed55288329db3329afa38bcd358f6708021df23ba
parent043017af13a80ad432c597699f35e50260ed21ca
Bug 31577: Use patron category multi-select for OpacHiddenItemsExceptions system preference

We are now using the patron category selects on almost all system
preferences, but OpacHiddenItemsExceptions was still missing.

To test:
- Before applying the patch:
- Add patron categories to OpacHiddenItemsExceptions using |
- Add configuration to OpacHiddenItems
- Verify all works as expected in the OPAC
- Apply patch, run database update
- Verify the system preference shows the correct settings from before
- Verify feature still works as expected

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron/Category.pm
installer/data/mysql/atomicupdate/bug_31577_OpacHiddenItemsExceptions.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
t/db_dependent/Koha/Patron/Category.t