From: Bill Erickson Date: Thu, 19 Sep 2019 18:38:02 +0000 (-0400) Subject: pkey changes continued X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bf89324f6497a02b76337a9348c40bb034da4114;p=working%2FEvergreen.git pkey changes continued 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 0a16511212..0df70bac22 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Elastic.pm @@ -48,7 +48,8 @@ sub init { my $e = new_editor(); - $bib_fields = $e->retrieve_all_elastic_bib_field; + # no pkey + $bib_fields = $e->search_elastic_bib_field({name => {'!=' => undef}}); my $stats = $e->json_query({ select => {ccs => ['id', 'opac_visible', 'is_available']},