Bugzilla – Attachment 110732 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.19 KB, created by
Marcel de Rooy
on 2020-09-25 09:43:53 UTC
(
hide
)
Description:
Bug 25265: Fix copy paste error for parameter
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-09-25 09:43:53 UTC
Size:
1.19 KB
patch
obsolete
>From 6db708f4adfdeb4df2cc5e13c0b668bc4e0faf88 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Bob Bennhoff <bbennhoff@clicweb.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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