Bugzilla – Attachment 104504 Details for
Bug 24823
Drop Catmandu dependency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24823: (QA follow-up) Fix deletion and POD
Bug-24823-QA-follow-up-Fix-deletion-and-POD.patch (text/plain), 1.47 KB, created by
Nick Clemens
on 2020-05-07 12:13:15 UTC
(
hide
)
Description:
Bug 24823: (QA follow-up) Fix deletion and POD
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-05-07 12:13:15 UTC
Size:
1.47 KB
patch
obsolete
>From 4e560a746f9023d5083554579becec5b05f875e1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 7 May 2020 12:06:10 +0000 >Subject: [PATCH] Bug 24823: (QA follow-up) Fix deletion and POD > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/SearchEngine/Elasticsearch.pm | 2 -- > Koha/SearchEngine/Elasticsearch/Indexer.pm | 2 +- > 2 files changed, 1 insertion(+), 3 deletions(-) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 3eaabca5b6..8f67c068ca 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -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. >diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm >index 8f70817a6c..43f37dd79b 100644 >--- a/Koha/SearchEngine/Elasticsearch/Indexer.pm >+++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm >@@ -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', >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24823
:
100268
|
100308
|
100337
|
100617
|
104303
|
104304
|
104305
|
104306
|
104307
|
104371
|
104372
|
104373
|
104501
|
104502
|
104503
| 104504