Bug 40075: Only show pickup_location libraries

And list alphabetically on branchname

Signed-off by: Chris Rowlands <chris.rowlands6@nhs.net>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2025-06-04 15:41:40 +00:00 committed by Lucas Gass
parent d56b15d29c
commit 8698c8f7c5
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 7 additions and 4 deletions

View File

@ -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'),
);