[open-ils-commits] [GIT] Evergreen ILS branch master updated. 0dbc5053becba1e0fc453578958ccc159dac56a5

Evergreen Git git at git.evergreen-ils.org
Thu Nov 3 11:50:14 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  0dbc5053becba1e0fc453578958ccc159dac56a5 (commit)
      from  beebab309629a319de590469d3d5a2b2743b6dee (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 0dbc5053becba1e0fc453578958ccc159dac56a5
Author: blake <blake at mobiusconsortium.org>
Date:   Thu Nov 3 10:42:24 2016 -0500

    LP1638921 List display broken in 2.11
    
    The badges feature added more data to an array which broke bib_record_list_via_search
    Taking the first item in the array instead of the last item fixes the issue.
    Thanks to miker and Dyrcona!
    
    Signed-off-by: blake <blake at mobiusconsortium.org>
    Signed-off-by: Mike Rylander <miker at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index 83b9789..093c257 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -1913,7 +1913,7 @@ sub bib_container_items_via_search {
     }
 
     # Throw away other junk from search, keeping only bib IDs.
-    my $id_list = [ map { pop @$_ } @{$search_result->{ids}} ];
+    my $id_list = [ map { shift @$_ } @{$search_result->{ids}} ];
 
     return [] unless @$id_list;
 

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

Summary of changes:
 .../perlmods/lib/OpenILS/Application/AppUtils.pm   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list