Bug 12478: Making sure the syspref is set to Zebra by default
authorChris <chrisc@catalyst.net.nz>
Tue, 12 Apr 2016 20:57:49 +0000 (08:57 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 26 Apr 2016 13:02:02 +0000 (10:02 -0300)
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>

installer/data/mysql/atomicupdate/elastic_search.perl

index e8bc20e..62e72dd 100644 (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|);