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>
(cherry picked from commit 8698c8f7c5)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Pedro Amorim 2025-06-04 15:41:40 +00:00 committed by Paul Derscheid
parent 3a22c2efb2
commit 946a0625b9
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
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'),
);