@@ -, +, @@ --- opac/opac-search.pl | 1 - t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- a/opac/opac-search.pl +++ a/opac/opac-search.pl @@ -565,7 +565,6 @@ if (C4::Context->preference('OpacSuppression')) { 0, $lang, { - expanded_facet => $expanded_facet, suppress => $suppress, is_opac => 1, weighted_fields => !$cgi->param('advsearch') --- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t +++ a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t @@ -178,7 +178,7 @@ subtest 'build_authorities_query_compat() tests' => sub { $query = $qb->build_authorities_query_compat( [ 'mainentry' ], undef, undef, ['contains'], [$search_term], 'AUTH_TYPE', 'asc' ); is_deeply( $query->{query}->{bool}->{filter}, - { term => { 'authtype' => 'auth_type' } }, + { term => { 'authtype.raw' => 'AUTH_TYPE' } }, "authorities type code is used as filter" ); --