Bugzilla – Attachment 132026 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), 897 bytes, created by
Jonathan Druart
on 2022-03-22 14:41:15 UTC
(
hide
)
Description:
Bug 23991: Fix 'all' libraries
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-22 14:41:15 UTC
Size:
897 bytes
patch
obsolete
>From daa2238c693f0e1cf06c8188fc20632a2ab1589b 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 > >--- > suggestion/suggestion.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 6c2bdc84be8..2d76de71368 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.25.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 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