Bugzilla – Attachment 130660 Details for
Bug 30104
Holds to pull is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30104: (bug 29844 follow-up): Fix holds to pull
Bug-30104-bug-29844-follow-up-Fix-holds-to-pull.patch (text/plain), 1.01 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-02-16 11:22:50 UTC
(
hide
)
Description:
Bug 30104: (bug 29844 follow-up): Fix holds to pull
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-02-16 11:22:50 UTC
Size:
1.01 KB
patch
obsolete
>From 88c7b34301accfdd232277337528a2fae4e1ccbf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 15 Feb 2022 08:45:42 +0100 >Subject: [PATCH] Bug 30104: (bug 29844 follow-up): Fix holds to pull > >There was an error when circ/pendingreserves.pl was hit: >The method Koha::Items->biblionumber is not covered by tests! > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > circ/pendingreserves.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index 8ca7245b3c..12e7c193c0 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -193,7 +193,7 @@ my $holds = Koha::Holds->search( > my @biblionumbers = $holds->get_column('biblionumber'); > > my $all_items; >-foreach my $item ( $holds->get_items_that_can_fill ) { >+foreach my $item ( $holds->get_items_that_can_fill->as_list ) { > push @{$all_items->{$item->biblionumber}}, $item; > } > >-- >2.35.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 30104
:
130593
|
130620
| 130660