From e1dce7dd5b1d62671d8d59055f832fcae1a26260 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 6 Jan 2017 12:03:27 +0100 Subject: [PATCH] Bug 17736: [QA Follow-up] Wrong biblionumber in acqui/parcel Trivial fix. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall --- acqui/parcel.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/parcel.pl b/acqui/parcel.pl index 44af9704ae..b4421e5d52 100755 --- a/acqui/parcel.pl +++ b/acqui/parcel.pl @@ -140,7 +140,7 @@ for my $order ( @orders ) { $line{invoice} = $invoice->{invoicenumber}; $line{holds} = 0; my @itemnumbers = GetItemnumbersFromOrder( $order->{ordernumber} ); - my $biblio = Koha::Biblios->find( $order->{ordernumber} ); + my $biblio = Koha::Biblios->find( $line{biblionumber} ); $line{holds} = $biblio->current_holds->search( { itemnumber => { -in => \@itemnumbers }, -- 2.39.5