From: Galen Charlton Date: Wed, 15 Feb 2017 15:26:39 +0000 (-0500) Subject: LP#1639236: fix display of temporary list items X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=317f58f201527a07b1f81b92ea133b33523c29c4;p=evergreen%2Fpines.git LP#1639236: fix display of temporary list items Peer to the fix for bug 1638921. To test ------- [1] Apply patch. [2] In public catalog, add one or more bibs to the temporary list ('My List'). [3] Click the 'View List' button, then verify that the titles are displayed. Signed-off-by: Galen Charlton Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index c146de4d6b..a8c6c9ff63 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -1931,7 +1931,7 @@ sub bib_record_list_via_search { } # Throw away other junk from search, keeping only bib IDs. - return [ map { pop @$_ } @{$search_result->{ids}} ]; + return [ map { shift @$_ } @{$search_result->{ids}} ]; } # 'no_flesh' avoids fleshing the target_biblio_record_entry