https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27718

Andrew Nugged <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #6 from Andrew Nugged <[email protected]> ---
circ/pendingreserves.pl

197: my $all_items;
198: foreach my $item ( $holds->get_items_that_can_fill ) {
199:     push @{$all_items->{$item->biblionumber}}, $item;
200: }
201: 

Software error:
The method Koha::Items->biblionumber is not covered by tests!

Trace begun at .../Koha/Objects.pm line 592
Koha::Objects::AUTOLOAD('Koha::Items=HASH(0x55dd70618e38)') called at
.../circ/pendingreserves.pl line 199


I just researched, it's because of missing return and then DBIXc doesn't sense
"wantarray", I assume.

-    my $items = Koha::Items->search(
+    return Koha::Items->search(

worked.

Let me Sign-it-off patched :) ...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to