Bugzilla – Attachment 112834 Details for
Bug 25167
Fix not for loan filter in inventory tool
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25167: (QA follow-up) Don't add a new variable
Bug-25167-QA-follow-up-Dont-add-a-new-variable.patch (text/plain), 1.04 KB, created by
Nick Clemens (kidclamp)
on 2020-11-02 13:45:42 UTC
(
hide
)
Description:
Bug 25167: (QA follow-up) Don't add a new variable
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-11-02 13:45:42 UTC
Size:
1.04 KB
patch
obsolete
>From b90f0aff97e0604113fea8f4d15b6369119ac99e Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Sat, 24 Oct 2020 01:51:55 +0000 >Subject: [PATCH] Bug 25167: (QA follow-up) Don't add a new variable > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > tools/inventory.pl | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/tools/inventory.pl b/tools/inventory.pl >index 5c4fbeaea4..632968219d 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -121,10 +121,7 @@ for my $authvfield (@$statuses) { > > # if there's a list of not for loans types selected use it rather than > # the full set. >-if ($staton->{'items.notforloan'}) { >- my @l = @{$staton->{'items.notforloan'}}; >- @notforloans = @l if scalar @l > 0; >-} >+@notforloans = @{$staton->{'items.notforloan'}} if defined $staton->{'items.notforloan'} and scalar @{$staton->{'items.notforloan'}} > 0; > > my @class_sources = Koha::ClassSources->search({ used => 1 }); > my $pref_class = C4::Context->preference("DefaultClassificationSource"); >-- >2.11.0
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 25167
:
105374
|
112262
|
112353
|
112833
| 112834