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=57647657ee6b9121ad9a6da157a7a11972233279;p=working%2FEvergreen.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 Signed-off-by: Jason Etheridge --- 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