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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-2 / +1 lines)
Lines 80-86 sub build_query { Link Here
80
80
81
    my $stemming         = C4::Context->preference("QueryStemming")        || 0;
81
    my $stemming         = C4::Context->preference("QueryStemming")        || 0;
82
    my $auto_truncation  = C4::Context->preference("QueryAutoTruncate")    || 0;
82
    my $auto_truncation  = C4::Context->preference("QueryAutoTruncate")    || 0;
83
    my $weight_fields    = C4::Context->preference("QueryWeightFields")    || 0;
84
    my $fuzzy_enabled    = C4::Context->preference("QueryFuzzy")           || 0;
83
    my $fuzzy_enabled    = C4::Context->preference("QueryFuzzy")           || 0;
85
84
86
    $query = '*' unless defined $query;
85
    $query = '*' unless defined $query;
Lines 1065-1070 sub _search_fields { Link Here
1065
                ) : (
1064
                ) : (
1066
                    'staff_client' => 1
1065
                    'staff_client' => 1
1067
                ),
1066
                ),
1067
                'type' => { '!=' => 'boolean' },
1068
                'search_marc_map.index_name' => $self->index,
1068
                'search_marc_map.index_name' => $self->index,
1069
                'search_marc_map.marc_type' => C4::Context->preference('marcflavour'),
1069
                'search_marc_map.marc_type' => C4::Context->preference('marcflavour'),
1070
                'search_marc_to_fields.search' => 1,
1070
                'search_marc_to_fields.search' => 1,
1071
- 

Return to bug 20589