]> git.koha-community.org Git - koha.git/commit
Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table
authorNick Clemens <nick@bywatersolutions.com>
Tue, 10 Nov 2020 13:35:14 +0000 (13:35 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Nov 2020 13:20:11 +0000 (14:20 +0100)
commit83d471394562b8137fce9b3a538d19efc41fa1e1
tree21c38aca71c6e98fb61a882f8e9cad4021eeeb28
parentb6deb941dc95f8642ef8d20da7f2fcabbc0a15d7
Bug 26988: Add API route to fetch hold pickup locations and use it in the holds table

To test:
1 - Place a number of holds on a record
2 - Have different pickup locations for the holds
3 - Have some libraries that are not pickup locations
4 - Load the holds tab for the record and note libraries not pickup locations are not in dropdowns
5 - Apply patch and restart all things
6 - Reload the holds table
7 - Click on a dropdown, note the spinner, should load successfully
8 - Confirm the dropdown matches the options before the patch
9 - Confirm updating the hold location works

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Hold.pm
Koha/REST/V1/Holds.pm
api/v1/swagger/paths.json
api/v1/swagger/paths/holds.json
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
koha-tmpl/intranet-tmpl/prog/js/holds.js