]> git.koha-community.org Git - koha.git/commit
Bug 33672: Don't show item group holds on OPAC if not enabled
authorNick Clemens <nick@bywatersolutions.com>
Thu, 4 May 2023 11:14:29 +0000 (11:14 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 14:46:56 +0000 (11:46 -0300)
commitaf2792379c33ae82096b70e19810fd5e7fc73662
tree9ba9e9a0aeb20ec6fcca95892c6a468d9cc95083
parent0d888fc4197d8d70ca3710d448d6a293f34ab4f8
Bug 33672: Don't show item group holds on OPAC if not enabled

This patch adds a check of the syspref 'EnbaleItemGroupHolds' to the
opac request form

To test:
1 - Enable 'EnableItemGroups' system preference
2 - On staff client, view a record details
3 - Go to 'Item groups' tab, add a enw group
4 - On holdings tab, select one or more items and add to group
5 - View record in OPAC
6 - PLace a hold
7 - Note group option is visible
8 - Apply patch
9 - Refresh, no group option
10 - Enable 'EnableItemGroupHolds' system preference
11 - Refresh opac page, note group option is visible

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt