From 317f58f201527a07b1f81b92ea133b33523c29c4 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 15 Feb 2017 10:26:39 -0500 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0