Bugzilla – Attachment 110597 Details for
Bug 25265
Elasticsearch - Batch editing items on a biblio can lead to incorrect index
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25265: Fix copy paste error for parameter
Bug-25265-Fix-copy-paste-error-for-parameter.patch (text/plain), 1.10 KB, created by
Andrew Fuerste-Henry
on 2020-09-23 12:24:25 UTC
(
hide
)
Description:
Bug 25265: Fix copy paste error for parameter
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2020-09-23 12:24:25 UTC
Size:
1.10 KB
patch
obsolete
>From a9dcb0695d374d45ea89b63274370debfc09eb7c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 22 Sep 2020 17:38:03 +0000 >Subject: [PATCH] Bug 25265: Fix copy paste error for parameter > >Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org> >--- > Koha/SearchEngine/Elasticsearch/Indexer.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm >index bfb0d08cfc..49437cd268 100644 >--- a/Koha/SearchEngine/Elasticsearch/Indexer.pm >+++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm >@@ -298,7 +298,7 @@ to Zebra as well. > sub index_records { > my ( $self, $biblionumbers, $op, $server, $records ) = @_; > $biblionumbers = [$biblionumbers] if ref $biblionumbers ne 'ARRAY' && defined $biblionumbers; >- $records = [$records] if ref $biblionumbers ne 'ARRAY' && defined $records; >+ $records = [$records] if ref $records ne 'ARRAY' && defined $records; > if ( $op eq 'specialUpdate' ) { > unless ($records) { > foreach my $biblionumber ( @$biblionumbers ){ >-- >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 25265
:
107832
|
107855
|
107867
|
109538
|
109556
|
110262
|
110263
|
110264
|
110380
|
110381
|
110382
|
110457
|
110458
|
110459
|
110560
|
110561
|
110562
|
110565
|
110594
|
110595
|
110596
|
110597
|
110615
|
110618
|
110729
|
110730
|
110731
|
110732
|
110733
|
110734
|
110736
|
110737
|
110882
|
110883
|
110937