https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38345

Jake Deery <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #14 from Jake Deery <[email protected]> ---
(In reply to David Cook from comment #7)
> This is how you'd do it if you wanted to:
> 
> diff --git a/Koha/SearchEngine/Elasticsearch.pm
> b/Koha/SearchEngine/Elasticsearch.pm
> index 5ef5235720..1cee774d41 100644
> --- a/Koha/SearchEngine/Elasticsearch.pm
> +++ b/Koha/SearchEngine/Elasticsearch.pm
> @@ -38,6 +38,8 @@ use Clone qw( clone );
>  use Modern::Perl;
>  use Readonly qw( Readonly );
>  use Search::Elasticsearch;
> +use Search::Elasticsearch::Role::Cxn;
> +$Search::Elasticsearch::Role::Cxn::PRODUCT_CHECK_VALUE = '';
>  use Try::Tiny qw( catch try );
>  use YAML::XS;

Just applied this patch and had a go, and it seemed to work for me. There are a
few failing tests, but it launches and is searchable. I'll see if I can figure
out why the test is failing. For reference:

> [10:04:49] t/db_dependent/Search.t ........................................
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 3/3 subtests

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to