Bug 17736: [Follow-up] Rename to current_holds
[koha.git] / C4 / ILSDI / Services.pm
index 64630b6..287ac02 100644 (file)
@@ -219,7 +219,7 @@ sub GetRecords {
         # Get most of the needed data
         my $biblioitemnumber = $biblioitem->{'biblioitemnumber'};
         my $biblio = Koha::Biblios->find( $biblionumber );
-        my $holds  = $biblio->holds_placed_before_today->unblessed;
+        my $holds  = $biblio->current_holds->unblessed;
         my $issues           = GetBiblioIssues($biblionumber);
         my $items            = GetItemsByBiblioitemnumber($biblioitemnumber);