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

(-)a/opac/opac-search.pl (-1 lines)
Lines 565-571 if (C4::Context->preference('OpacSuppression')) { Link Here
565
    0,
565
    0,
566
    $lang,
566
    $lang,
567
    {
567
    {
568
        expanded_facet => $expanded_facet,
569
        suppress => $suppress,
568
        suppress => $suppress,
570
        is_opac => 1,
569
        is_opac => 1,
571
        weighted_fields => !$cgi->param('advsearch')
570
        weighted_fields => !$cgi->param('advsearch')
(-)a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t (-2 / +1 lines)
Lines 178-184 subtest 'build_authorities_query_compat() tests' => sub { Link Here
178
    $query = $qb->build_authorities_query_compat( [ 'mainentry' ],  undef, undef, ['contains'], [$search_term], 'AUTH_TYPE', 'asc' );
178
    $query = $qb->build_authorities_query_compat( [ 'mainentry' ],  undef, undef, ['contains'], [$search_term], 'AUTH_TYPE', 'asc' );
179
    is_deeply(
179
    is_deeply(
180
        $query->{query}->{bool}->{filter},
180
        $query->{query}->{bool}->{filter},
181
        { term => { 'authtype' => 'auth_type' } },
181
        { term => { 'authtype.raw' => 'AUTH_TYPE' } },
182
        "authorities type code is used as filter"
182
        "authorities type code is used as filter"
183
    );
183
    );
184
184
185
- 

Return to bug 20589