From e3dca42d0e642d3b087b1dae5cb6973acb61882e Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Tue, 7 May 2013 18:23:27 -0400 Subject: [PATCH] Tie in new MFHD method to serials module Now that we have a potentially better alternative, let's call get_combined_holdings() in place of get_compressed_holdings() in Serial.pm. Signed-off-by: Dan Wells --- Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm index d79c5c6eef..c619d37370 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Serial.pm @@ -1899,10 +1899,10 @@ sub _summarize_contents { foreach my $scap_field (@scap_fields_ordered) { #TODO: use generic MFHD "summarize" method, once available my @updated_holdings; eval { - @updated_holdings = $mfhd->get_compressed_holdings($scap_field); + @updated_holdings = $mfhd->get_combined_holdings($scap_field); }; if ($@) { - my $msg = "get_compressed_holdings(): $@ ; using sdist ID #" . + my $msg = "get_combined_holdings(): $@ ; using sdist ID #" . ($sdist ? $sdist->id : "") . " and " . scalar(@$issuances) . " issuances, of which one has ID #" . $issuances->[0]->id; -- 2.11.0