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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-2 / +1 lines)
Lines 415-421 sub _convert_facets { Link Here
415
            "type_label_$type_to_label{$type}" => 1,
415
            "type_label_$type_to_label{$type}" => 1,
416
            type_link_value                    => $type,
416
            type_link_value                    => $type,
417
        };
417
        };
418
        foreach my $term ( @{ $data->{terms} }[ 0 .. $limit ] ) {
418
        foreach my $term ( @{ $data->{terms} }[ 0 .. $limit - 1 ] ) {
419
            my $t = $term->{term};
419
            my $t = $term->{term};
420
            my $c = $term->{count};
420
            my $c = $term->{count};
421
            if ( exists( $special{$type} ) ) {
421
            if ( exists( $special{$type} ) ) {
422
- 

Return to bug 12478