]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 12:12:13 +0000 (12:12 +0000)
commitbe8aadb4faf4659943d06ceeadff3acad70b2523
treecfe8c73fd38cc0c85c4c940880fce39108eb373e
parentaadd0687ff3f1bfd118d8b23e9ec0fe3e33bdb15
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>
(cherry picked from commit af2792379c33ae82096b70e19810fd5e7fc73662)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt