Bugzilla – Attachment 105321 Details for
Bug 25266
Not all vendors are listed in the filters on the late order claims page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25266: Fix error when no later order
Bug-25266-Fix-error-when-no-later-order.patch (text/plain), 902 bytes, created by
Jonathan Druart
on 2020-05-25 07:35:00 UTC
(
hide
)
Description:
Bug 25266: Fix error when no later order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-25 07:35:00 UTC
Size:
902 bytes
patch
obsolete
>From e59c203a9e42d875f3bed49d298fb5a69a0b6eb1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 May 2020 09:33:10 +0200 >Subject: [PATCH] Bug 25266: Fix error when no later order > >If no late order we got: >"Argument passed to the 'IN' operator can not be undefined" > >It highlights a context error >--- > acqui/lateorders.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl >index 6521d1d7a6..65d47033e5 100755 >--- a/acqui/lateorders.pl >+++ b/acqui/lateorders.pl >@@ -151,7 +151,7 @@ my @lateorders = Koha::Acquisition::Orders->filter_by_lates( > my $booksellers = Koha::Acquisition::Booksellers->search( > { > id => { >- -in => map { $_->basket->booksellerid } @lateorders >+ -in => [ map { $_->basket->booksellerid } @lateorders ] > }, > } > ); >-- >2.20.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 25266
:
103596
|
104254
|
104255
|
104257
|
105321
|
105329
|
105330
|
105331
|
105592
|
105621
|
105622
|
105623
|
105624