[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 062bbe626d2f5faf7d6b3f1d7a1ab87f082d36a2

Evergreen Git git at git.evergreen-ils.org
Thu Nov 3 11:51:42 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, rel_2_11 has been updated
       via  062bbe626d2f5faf7d6b3f1d7a1ab87f082d36a2 (commit)
      from  b99837b6a52c1b8c1379e3b6b084855b1160d92b (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 062bbe626d2f5faf7d6b3f1d7a1ab87f082d36a2
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