From 35612f8223d7c758c42c28d45849fc6f42e67135 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 1 Jun 2021 13:14:05 -0300 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 023049f011..00ceeee8c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -191,7 +191,7 @@
  • - [% PROCESS options_for_libraries libraries => Branches.all({ selected => club.branchcode, search_params => { pickup_location => 1 } }) %]
  • -- 2.39.5