Bug 12478: Making sure the syspref is set to Zebra by default

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Chris 2016-04-13 08:57:49 +12:00 committed by Brendan Gallagher
parent bc21573db4
commit 253f8bac3f
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ use Koha::SearchFields;
my $dbh = C4::Context->dbh;
$dbh->do(q|INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES('SearchEngine','Zebra','Choose format to display postal addresses','','Choice')|);
$dbh->do(q|DROP TABLE IF EXISTS search_marc_to_field|);
$dbh->do(q|DROP TABLE IF EXISTS search_marc_map|);
$dbh->do(q|DROP TABLE IF EXISTS search_field|);