]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 8 Dec 2020 16:51:27 +0000 (16:51 +0000)
commit9f09d3d16a5d3a2c8ee2fb0ce15eec0bb139825b
tree0d89aaa68c9677893c9791e583e99e15655840ca
parentbf38a864d493fc246d51ff6711b362a359d48617
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>
(cherry picked from commit 83d471394562b8137fce9b3a538d19efc41fa1e1)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
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