From 24493a0d732246407e9a52c69f2deeab3f3fbda5 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 12 Apr 2016 17:05:57 -0300 Subject: [PATCH] Bug 12478: (QA followup) Koha::SearchEngine should fallback to Zebra Signed-off-by: Tomas Cohen Arazi Signed-off-by: Chris Signed-off-by: Nick Clemens Signed-off-by: Jesse Weaver Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher --- Koha/SearchEngine/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/SearchEngine/Search.pm b/Koha/SearchEngine/Search.pm index c465f8c2da..7d928d7ba1 100644 --- a/Koha/SearchEngine/Search.pm +++ b/Koha/SearchEngine/Search.pm @@ -47,7 +47,7 @@ use C4::Context; use Modern::Perl; sub new { - my $engine = C4::Context->preference("SearchEngine"); + my $engine = C4::Context->preference("SearchEngine") // 'Zebra'; my $file = "Koha/SearchEngine/${engine}/Search.pm"; my $class = "Koha::SearchEngine::${engine}::Search"; require $file; -- 2.39.5