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

(-)a/Koha/SearchEngine/Elasticsearch/Search.pm (-2 / +2 lines)
Lines 565-572 sub _convert_facets { Link Here
565
                facet_count       => $c,
565
                facet_count       => $c,
566
                facet_link_value  => $t,
566
                facet_link_value  => $t,
567
                facet_title_value => $t,
567
                facet_title_value => $t,
568
                facet_label_value => $label,    # TODO either truncate this,
568
                facet_label_value => $label || q{},    # TODO either truncate this,
569
                                                # or make the template do it like it should anyway
569
                                                       # or make the template do it like it should anyway
570
                type_link_value   => $type,
570
                type_link_value   => $type,
571
            };
571
            };
572
        }
572
        }
(-)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