Bug 17736: [Follow-up] Rename to current_holds
[koha.git] / acqui / parcel.pl
index a747aa5..44af970 100755 (executable)
@@ -141,7 +141,7 @@ for my $order ( @orders ) {
     $line{holds} = 0;
     my @itemnumbers = GetItemnumbersFromOrder( $order->{ordernumber} );
     my $biblio = Koha::Biblios->find( $order->{ordernumber} );
-    $line{holds} = $biblio->holds_placed_before_today->search(
+    $line{holds} = $biblio->current_holds->search(
         {
             itemnumber => { -in => \@itemnumbers },
         }