From: Bill Erickson Date: Mon, 30 Sep 2019 18:17:54 +0000 (-0400) Subject: avoid indexing dupe data X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3b8a1cccfa488216ef9a42562d46c3e305405442;p=working%2FEvergreen.git avoid indexing dupe data This came up when some test records had links to multiple metarecords, causing the data to double-up on the join to the MR table. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm index 70995f13b8..26d882b407 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Elastic/Bib/Search.pm @@ -344,7 +344,7 @@ sub get_bib_data { my $ids_str = join(',', @$record_ids); my $sql = <