Bugzilla – Attachment 132175 Details for
Bug 23991
Move SearchSuggestion to Koha::Suggestions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23991: Fix 'all' libraries
Bug-23991-Fix-all-libraries.patch (text/plain), 951 bytes, created by
Nick Clemens (kidclamp)
on 2022-03-24 15:22:13 UTC
(
hide
)
Description:
Bug 23991: Fix 'all' libraries
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-03-24 15:22:13 UTC
Size:
951 bytes
patch
obsolete
>From 7de032b99b0edae9d3c832a4e09d1a780954b838 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Mar 2022 15:40:18 +0100 >Subject: [PATCH] Bug 23991: Fix 'all' libraries > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > suggestion/suggestion.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 6c2bdc84be..2d76de7136 100755 >--- a/suggestion/suggestion.pl >+++ b/suggestion/suggestion.pl >@@ -404,7 +404,9 @@ if ($op=~/else/) { > $search_params->{budgetid} = [undef, '' ]; > } > for my $f (qw (branchcode budgetid)) { >- delete $search_params->{$f} if $search_params->{$f} eq '__ANY__'; >+ delete $search_params->{$f} >+ if $search_params->{$f} eq '__ANY__' >+ || $search_params->{$f} eq ''; > } > > my @suggestions = >-- >2.30.2
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 23991
:
95172
|
115203
|
115207
|
116639
|
118454
|
119256
|
127058
|
127100
|
128071
|
128072
|
128073
|
128074
|
128075
|
129511
|
129512
|
129513
|
129523
|
130049
|
131896
|
132026
|
132169
|
132170
|
132171
|
132172
|
132173
|
132174
|
132175
|
133874
|
134922
|
136441
|
136442
|
137201