]> git.koha-community.org Git - koha.git/commit
Bug 20006: (follow-up) Fix holds.js
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 18:11:21 +0000 (15:11 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 10:51:25 +0000 (10:51 +0000)
commitcd9e3e24ab8df7d030ae1fe80c1e4cd6c4f925a8
tree3cd7e48b87982400f083c1e63ee5189795c894cc
parentc0b46677c64da72f68e92f4d5501cb8fe073c0a5
Bug 20006: (follow-up) Fix holds.js

This patch makes holds.js call the endpoint with 'pickup_library_id'
instead of the old 'branchcode' property.

To test:
- Place a hold
- Go to the patron's detail page
- Go to the Holds tab
- Change the pickup location
=> SUCCESS: It works!

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit f6b3d9979dc996dff7bf29fd5747e91695f93d0f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/holds.js