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

(-)a/Koha/SearchEngine/Search.pm (-2 / +1 lines)
Lines 47-53 use C4::Context; Link Here
47
use Modern::Perl;
47
use Modern::Perl;
48
48
49
sub new {
49
sub new {
50
    my $engine = C4::Context->preference("SearchEngine");
50
    my $engine = C4::Context->preference("SearchEngine") // 'Zebra';
51
    my $file = "Koha/SearchEngine/${engine}/Search.pm";
51
    my $file = "Koha/SearchEngine/${engine}/Search.pm";
52
    my $class = "Koha::SearchEngine::${engine}::Search";
52
    my $class = "Koha::SearchEngine::${engine}::Search";
53
    require $file;
53
    require $file;
54
- 

Return to bug 12478