Bugzilla – Attachment 138484 Details for
Bug 30077
Add option for library dropdown in search function for staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30077: (QA follow-up) Avoid warning
Bug-30077-QA-follow-up-Avoid-warning.patch (text/plain), 843 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-08-01 17:49:18 UTC
(
hide
)
Description:
Bug 30077: (QA follow-up) Avoid warning
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-08-01 17:49:18 UTC
Size:
843 bytes
patch
obsolete
>From cdf34ce15603edfee5453ce7b232d2ceb0aa61e7 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 1 Aug 2022 14:48:34 -0300 >Subject: [PATCH] Bug 30077: (QA follow-up) Avoid warning > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > catalogue/search.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/catalogue/search.pl b/catalogue/search.pl >index 003658e31ea..0bb34b10d66 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -239,7 +239,8 @@ my @search_groups = > Koha::Library::Groups->get_search_groups( { interface => 'staff' } )->as_list; > > my $branch_limit = ''; >-if ( scalar $cgi->param('limit') =~ /branch:([\w-]+)/ ) { >+my $limit_param = $cgi->param('limit'); >+if ( $limit_param and $limit_param =~ /branch:([\w-]+)/ ) { > $branch_limit = $1; > } > >-- >2.34.1
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 30077
:
130478
|
130513
|
131528
|
131544
|
132982
|
133037
|
135530
|
135531
|
135532
|
138134
|
138135
|
138136
|
138396
|
138397
|
138398
| 138484