]> git.koha-community.org Git - koha.git/commit
Bug 35483: Restore holds table select to switch item level holds to record level...
authorLari Taskula <lari.taskula@hypernova.fi>
Mon, 4 Dec 2023 22:51:45 +0000 (22:51 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Feb 2024 16:24:32 +0000 (17:24 +0100)
commit87efb87cf899e151d8c2fa63ae9332c8f9764629
tree5d517855d1c6f3d25a4ce7efd379efc0f7d31bae
parente20c0919ccbdd53abff080435c1f567e758ca4d4
Bug 35483: Restore holds table select to switch item level holds to record level holds

To test:
1. Apply patch
2. Add item level hold to a record/item, make sure patron has no other
   holds on that record
3. Go to /cgi-bin/koha/reserve/request.pl?biblionumber=xxx where xxx is
   the record you placed the hold for
4. Under "Existing holds" table, in "Details" column you should see
   "Only item <barcode>" dropdown
5. Select "Next available" from the dropdown
6. Click Update hold(s)
7. Observe dropdown is gone and cell value has changed from
   "Only item <barcode>" to "Next available"
8. Cancel the hold and add two item level holds for the same patron
9. Under "Existing holds" table, in "Details" column you should see
   "Only item <barcode>", but no select dropdown

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c20f4568ad15c5a073c074d9bd7ab0949d32aa65)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc