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>
This commit is contained in:
parent
0d888fc419
commit
af2792379c
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@
|
|||
[% END %]
|
||||
|
||||
[% UNLESS bibitemloo.forced_hold_level && ( bibitemloo.forced_hold_level == 'item' || bibitemloo.forced_hold_level == 'record' ) %]
|
||||
[% IF bibitemloo.object.item_groups %]
|
||||
[% IF Koha.Preference('EnableItemGroupHolds') && bibitemloo.object.item_groups %]
|
||||
<li>
|
||||
<label for="itemtype">Request specific item group:</label>
|
||||
<select name="item_group_id_[% bibitemloo.biblionumber | html %]" id="item_group_id_[% bibitemloo.biblionumber | html %]">
|
||||
|
|
Loading…
Reference in a new issue