Bug 34823: Do not show Item group dropdown if there are no item groups
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 6 Mar 2024 18:41:04 +0000 (18:41 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 13 May 2024 12:00:16 +0000 (14:00 +0200)
commitbe98d633be1fb34f52ccc8b57b18280856cf1d1a
treeef6d6a47be4c768da12efd8e1bb1ac52f69737bb
parent2d34006653b96c0beaa4bc250f9eec8207ba5116
Bug 34823: Do not show Item group dropdown if there are no item groups

To test:
1. Enable EnableItemGroups and EnableItemGroupHolds
2. Go to the OPAC and log in as a patron
3. Go to any record that doesn't have grouped items and try to place a hold
4. Click on "Show more options"
5. See "Request specific item group:" and dropdown
6. APPLY PATCH
7. Try again, this time if the record has no item groups you should not see the dropdown at all.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt