Bug 20006: (follow-up) Fix holds.js
commitf6b3d9979dc996dff7bf29fd5747e91695f93d0f
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 18:11:21 +0000 (24 15:11 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Mar 2019 19:35:26 +0000 (15 19:35 +0000)
tree13d3f405b5b71a81f9a4c827204d18263f7be91f
parentfc0d64506d75bde53afa3a3385a7f7f42bd566bc
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>
koha-tmpl/intranet-tmpl/prog/js/holds.js