Bug 28496: Club holds pickup locations don't come from the API
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 1 Jun 2021 16:14:05 +0000 (13:14 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Jun 2021 10:04:42 +0000 (12:04 +0200)
commit35612f8223d7c758c42c28d45849fc6f42e67135
tree53e229cdc4d2c2b5ccd2a1707406733a34b9dd4b
parenteaa1e75b992d8748857561f3ad4283b38c676774
Bug 28496: Club holds pickup locations don't come from the API

This patch fixes a issue that is generated by the fact different inputs
were reusing the same id.

To test:
1. Have a club with some enrollments
2. Make sure you have your circ rules to allow any  library be a pickup
   location.
3. Search for a biblio
4. Try placing a club hold
=> FAIL: The dropdown only has the (currently) logged in library.
5. Apply this patch
6. Repeat 3-4
=> SUCCESS: The dropdown has all the options

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt