From 57647657ee6b9121ad9a6da157a7a11972233279 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 Signed-off-by: Jason Etheridge --- 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 093c257bab..dca778db9d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -1893,7 +1893,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.43.2