Bug 40075: Only show pickup_location libraries in OPAC
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 9657c19608)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
946a0625b9
commit
d165bfd019
|
|
@ -191,9 +191,12 @@ if ( $op eq 'list' ) {
|
|||
} else {
|
||||
$template->param(
|
||||
types => [ "Book", "Article", "Journal" ],
|
||||
branches => Koha::Libraries->search->unblessed,
|
||||
whole => $backend_result,
|
||||
request => $request
|
||||
branches => Koha::Libraries->search(
|
||||
{ pickup_location => 1 },
|
||||
{ order_by => ['branchname'] }
|
||||
),
|
||||
whole => $backend_result,
|
||||
request => $request
|
||||
);
|
||||
if ( $backend_result->{stage} eq 'commit' ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue