From: Dan Wells Date: Tue, 7 May 2013 22:23:27 +0000 (-0400) Subject: Tie in new MFHD method to serials module X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e3dca42d0e642d3b087b1dae5cb6973acb61882e;p=working%2FEvergreen.git 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 --- 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;