]> git.koha-community.org Git - koha.git/commit
Bug 31692: Allow librarians to change hold type in staff client
authorLari Taskula <lari.taskula@hypernova.fi>
Wed, 5 Oct 2022 16:04:59 +0000 (16:04 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 Oct 2023 12:58:57 +0000 (09:58 -0300)
commitb0f49d5dafa4e2dcc05e1e85c13cde3b66f041f5
tree12275ee9c0b5c62447bdd527692e7ab3d7aa4dd6
parent26afea24f82c8eaaa7442a8c4edffc20545fe0d8
Bug 31692: Allow librarians to change hold type in staff client

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: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
reserve/modrequest.pl
reserve/request.pl