Bugzilla – Attachment 182984 Details for
Bug 40075
ILL Standard form should only show libraries that are pickup_locations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40075: Only show pickup_location libraries in OPAC
Bug-40075-Only-show-pickuplocation-libraries-in-OP.patch (text/plain), 1.21 KB, created by
Pedro Amorim
on 2025-06-05 09:53:42 UTC
(
hide
)
Description:
Bug 40075: Only show pickup_location libraries in OPAC
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-06-05 09:53:42 UTC
Size:
1.21 KB
patch
obsolete
>From f01b4e2c3afcc85b8fb1c2314f050d518e0336a4 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Thu, 5 Jun 2025 08:26:20 +0000 >Subject: [PATCH] Bug 40075: Only show pickup_location libraries in OPAC > >And list alphabetically on branchname > >Signed-off by: Chris Rowlands <chris.rowlands6@nhs.net> >--- > opac/opac-illrequests.pl | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl >index 27b853a64f4..a10c79d4b8c 100755 >--- a/opac/opac-illrequests.pl >+++ b/opac/opac-illrequests.pl >@@ -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' ) { > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40075
:
182954
|
182967
|
182983
| 182984