From: Bill Erickson Date: Mon, 29 Oct 2018 22:02:32 +0000 (-0400) Subject: bib search api wip X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7f87e5a16d43fefc530b6eef2c704f3bd37f06de;p=working%2FEvergreen.git bib search api wip Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm index e82e50a9c5..fbc34605ab 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm @@ -85,7 +85,7 @@ sub format_facets { my ($name, $field_class) = split('|', $fname); my ($bib_field) = grep { - $_->{name} eq $name && $_->{search_group} eq $field_class + $_->name eq $name && $_->search_group eq $field_class } @$bib_search_fields; my $hash = $facets->{$bib_field->metabib_field} = {};