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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 10:43:40 +0000 (06:43 -0400)
commitcc4ee1b58de0ae5525bed33d4cf9a2867e0f1c18
treea9822c854e3a0a8fc38e6dcaacd418e7f600a057
parentc4e2f4c7180a1c4c287d11d2f2d8c635de81df38
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt