From 6f6767a193df1fb5755a4ae7eb8769c1abe4afa6 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 Content-Type: text/plain; charset=utf-8 Trivial fix. Signed-off-by: Marcel de Rooy --- acqui/parcel.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/parcel.pl b/acqui/parcel.pl index c874781..97943a3 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.1.4