If you don't want to allow item group holds, the option to do so should not show on the place hold forms in OPAC and staff interface when EnableItemGroupHolds is disabled. Currnetly the option always shows.
Created attachment 150648 [details] [review] 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
I don't recreate on staff, please provide steps if you can
(In reply to Nick Clemens from comment #2) > I don't recreate on staff, please provide steps if you can Maybe you are right, I was probably in the OPAC yesterday when I stumbled on this.
Created attachment 150698 [details] [review] 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>
Simple template fix, thx Nick!
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Missing dependencies for 22.05.x, no backport.