Bugzilla – Attachment 190581 Details for
Bug 38345
Restore support for OpenSearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38345: Remove warnings
c85afdd.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2025-12-17 13:57:09 UTC
(
hide
)
Description:
Bug 38345: Remove warnings
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-12-17 13:57:09 UTC
Size:
1.12 KB
patch
obsolete
>From c85afdd183dc17719341e7da75a274f8ca419366 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 16 Dec 2025 12:38:02 +0100 >Subject: [PATCH] Bug 38345: Remove warnings > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > Koha/SearchEngine/Elasticsearch.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch.pm b/Koha/SearchEngine/Elasticsearch.pm >index 67567c2b62b..82f0af810c5 100644 >--- a/Koha/SearchEngine/Elasticsearch.pm >+++ b/Koha/SearchEngine/Elasticsearch.pm >@@ -49,7 +49,7 @@ use Search::Elasticsearch::Role::Cxn; > *Search::Elasticsearch::Role::Cxn::process_response = sub { > my ( $self, $params, $code, $msg, $body, $headers ) = @_; > >- if ( $headers && $headers->{'x-elastic-product'} ne 'Elasticsearch' ) { >+ unless ( $headers && $headers->{'x-elastic-product'} && $headers->{'x-elastic-product'} eq 'Elasticsearch' ) { > $Search::Elasticsearch::Role::Cxn::PRODUCT_CHECK_VALUE = ''; > } > $orig_sub->(@_); >-- >2.52.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 38345
:
190500
|
190531
|
190534
|
190556
|
190557
|
190580
| 190581