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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-2 / +1 lines)
Lines 1139-1145 sub _search_fields { Link Here
1139
        subfield => undef,
1139
        subfield => undef,
1140
    };
1140
    };
1141
    my $cache = Koha::Caches->get_instance();
1141
    my $cache = Koha::Caches->get_instance();
1142
    my $cache_key = 'elasticsearch_search_fields' . ($params->{is_opac} ? '_opac' : '_staff_client');
1142
    my $cache_key = 'elasticsearch_search_fields' . ($params->{is_opac} ? '_opac' : '_staff_client') . $self->index;
1143
    my $search_fields = $cache->get_from_cache($cache_key, { unsafe => 1 });
1143
    my $search_fields = $cache->get_from_cache($cache_key, { unsafe => 1 });
1144
    if (!$search_fields) {
1144
    if (!$search_fields) {
1145
        # The reason we don't use Koha::SearchFields->search here is we don't
1145
        # The reason we don't use Koha::SearchFields->search here is we don't
1146
- 

Return to bug 25278