From 4d524b81893d550abb58b0c260ab742030a1c22c Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 4 Jun 2025 15:41:40 +0000 Subject: [PATCH] Bug 40075: Only show pickup_location libraries And list alphabetically on branchname --- ill/ill-requests.pl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index 0db9c09b1eb..00e93a4ed41 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -503,10 +503,13 @@ if ($backends_available) { } $template->param( - backends => $backends, - types => [ "Book", "Article", "Journal" ], - op => $op, - branches => Koha::Libraries->search, + backends => $backends, + types => [ "Book", "Article", "Journal" ], + op => $op, + branches => Koha::Libraries->search( + { pickup_location => 1 }, + { order_by => ['branchname'] } + ), illreq_tabs => C4::Context->yaml_preference('ILLRequestsTabs'), ); -- 2.39.5