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

(-)a/Koha/SearchEngine/Elasticsearch.pm (-1 / +1 lines)
Lines 312-317 sub _get_elasticsearch_field_config { Link Here
312
    if (!defined $settings) {
312
    if (!defined $settings) {
313
        my $config_file = C4::Context->config('elasticsearch_field_config');
313
        my $config_file = C4::Context->config('elasticsearch_field_config');
314
        $config_file ||= C4::Context->config('intranetdir') . '/admin/searchengine/elasticsearch/field_config.yaml';
314
        $config_file ||= C4::Context->config('intranetdir') . '/admin/searchengine/elasticsearch/field_config.yaml';
315
        local $YAML::XS::Boolean = 'JSON::PP';
315
        $settings = YAML::XS::LoadFile( $config_file );
316
        $settings = YAML::XS::LoadFile( $config_file );
316
    }
317
    }
317
318
318
- 

Return to bug 22824