From 522fcf72065831e1c1d74dd42dd47cb410cbd8b4 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 7 Dec 2015 11:57:11 -0500 Subject: [PATCH] LP#963341: Unrelated YAOUS breaks MFHD management Part of LP bug 963341 is about how the setting opac.fully_compressed_serial_holdings breaks staff's ability to manage MFHD attached to serials records. This commit unbreaks that by fetching the relevant MFHD regardless of that setting but should not otherwise change user-visible behavior. Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 418f8841bd..5f3d51c626 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -150,6 +150,9 @@ sub load_record { return Apache2::Const::HTTP_NOT_FOUND; } + $ctx->{mfhd_summaries} = + $self->get_mfhd_summaries($rec_id, $org, $copy_depth); + if ( $ctx->{get_org_setting}-> ($org, "opac.fully_compressed_serial_holdings") @@ -158,9 +161,6 @@ sub load_record { # *are* going to display something in the "issues" expandy? $self->load_serial_holding_summaries($rec_id, $org, $copy_depth); } else { - $ctx->{mfhd_summaries} = - $self->get_mfhd_summaries($rec_id, $org, $copy_depth); - if ($ctx->{mfhd_summaries} && scalar(@{$ctx->{mfhd_summaries}}) ) { $ctx->{have_mfhd_to_show} = 1; -- 2.43.2