Bug 24823: (QA follow-up) Fix deletion and POD

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2020-05-07 12:06:10 +00:00 committed by Martin Renvoize
parent d9bfbefaaf
commit 74ff965734
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F
2 changed files with 1 additions and 3 deletions

View file

@ -64,8 +64,6 @@ Koha::SearchEngine::Elasticsearch - Base module for things using elasticsearch
The name of the index to use, generally 'biblios' or 'authorities'.
=back
=item index_name
The Elasticsearch index name with Koha instance prefix.

View file

@ -287,7 +287,7 @@ sub delete_index {
my ($self, $biblionums) = @_;
my $elasticsearch = $self->get_elasticsearch();
my @body = map { { delete => { _id => $_ } } } @{$biblionums};
my @body = map { { delete => { _id => "$_" } } } @{$biblionums};
my $result = $elasticsearch->bulk(
index => $self->index_name,
type => 'data',