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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-2 / +2 lines)
Lines 526-533 sub _convert_facets { Link Here
526
                facet_count       => $c,
526
                facet_count       => $c,
527
                facet_link_value  => $t,
527
                facet_link_value  => $t,
528
                facet_title_value => $t,
528
                facet_title_value => $t,
529
                facet_label_value => $label,    # TODO either truncate this,
529
                facet_label_value => $label || q{},    # TODO either truncate this,
530
                                                # or make the template do it like it should anyway
530
                                                       # or make the template do it like it should anyway
531
                type_link_value   => $type,
531
                type_link_value   => $type,
532
            };
532
            };
533
        }
533
        }
(-)a/t/db_dependent/Koha/SearchEngine/Elasticsearch/Search.t (-2 / +2 lines)
Lines 17-23 Link Here
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
19
20
use Test::More tests => 14;
20
use Test::More tests => 15;
21
use Test::NoWarnings;
21
use t::lib::Mocks;
22
use t::lib::Mocks;
22
use t::lib::TestBuilder;
23
use t::lib::TestBuilder;
23
24
24
- 

Return to bug 40351