https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38345 Jake Deery <jake.deery@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jake.deery@ptfs-europe.com --- Comment #14 from Jake Deery <jake.deery@ptfs-europe.com> --- (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.