View | Details | Raw Unified | Return to bug 38345
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch.pm (-2 / +1 lines)
Lines 49-55 use Search::Elasticsearch::Role::Cxn; Link Here
49
    *Search::Elasticsearch::Role::Cxn::process_response = sub {
49
    *Search::Elasticsearch::Role::Cxn::process_response = sub {
50
        my ( $self, $params, $code, $msg, $body, $headers ) = @_;
50
        my ( $self, $params, $code, $msg, $body, $headers ) = @_;
51
51
52
        if ( $headers && $headers->{'x-elastic-product'} ne 'Elasticsearch' ) {
52
        unless ( $headers && $headers->{'x-elastic-product'} && $headers->{'x-elastic-product'} eq 'Elasticsearch' ) {
53
            $Search::Elasticsearch::Role::Cxn::PRODUCT_CHECK_VALUE = '';
53
            $Search::Elasticsearch::Role::Cxn::PRODUCT_CHECK_VALUE = '';
54
        }
54
        }
55
        $orig_sub->(@_);
55
        $orig_sub->(@_);
56
- 

Return to bug 38345