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@mobiusconsortium.org>
Signed-off-by: Mike Rylander <miker@esilibrary.com>
}
# 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;