[open-ils-commits] [GIT] Evergreen ILS branch master updated. 522fcf72065831e1c1d74dd42dd47cb410cbd8b4

Evergreen Git git at git.evergreen-ils.org
Mon Mar 14 17:48:52 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  522fcf72065831e1c1d74dd42dd47cb410cbd8b4 (commit)
      from  5a36e4a0148fa22ad12cd75479b4636f8f9c74e4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 522fcf72065831e1c1d74dd42dd47cb410cbd8b4
Author: Mike Rylander <mrylander at gmail.com>
Date:   Mon Dec 7 11:57:11 2015 -0500

    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 <mrylander at gmail.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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 418f884..5f3d51c 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;

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list