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

(-)a/installer/data/mysql/atomicupdate/Bug_27252_add_ElasticsearchCrossFields_preference.perl (-1 / +1 lines)
Lines 3-9 if( CheckVersion( $DBversion ) ) { Link Here
3
    # you can use $dbh here like:
3
    # you can use $dbh here like:
4
    $dbh->do(q{
4
    $dbh->do(q{
5
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
5
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
6
       ('ElasticsearchCrossFields', '1', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo')
6
       ('ElasticsearchCrossFields', '0', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo')
7
    });
7
    });
8
    NewVersion( $DBversion, 27252, "Add ElasticsearchCrossFields system preference");
8
    NewVersion( $DBversion, 27252, "Add ElasticsearchCrossFields system preference");
9
}
9
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-2 / +1 lines)
Lines 178-184 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
178
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
178
('ElasticsearchIndexStatus_authorities', '0', 'Authorities index status', NULL, NULL),
179
('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL),
179
('ElasticsearchIndexStatus_biblios', '0', 'Biblios index status', NULL, NULL),
180
('ElasticsearchMARCFormat', 'ISO2709', 'ISO2709|ARRAY', 'Elasticsearch MARC format. ISO2709 format is recommended as it is faster and takes less space, whereas array is searchable.', 'Choice'),
180
('ElasticsearchMARCFormat', 'ISO2709', 'ISO2709|ARRAY', 'Elasticsearch MARC format. ISO2709 format is recommended as it is faster and takes less space, whereas array is searchable.', 'Choice'),
181
('ElasticsearchCrossFields', '1', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo'),
181
('ElasticsearchCrossFields', '0', '', 'Enable "cross_fields" option for searches using Elastic search.', 'YesNo'),
182
('EmailAddressForSuggestions','','',' If you choose EmailAddressForSuggestions you have to enter a valid email address: ','free'),
182
('EmailAddressForSuggestions','','',' If you choose EmailAddressForSuggestions you have to enter a valid email address: ','free'),
183
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
183
('emailLibrarianWhenHoldIsPlaced','0',NULL,'If ON, emails the librarian whenever a hold is placed','YesNo'),
184
('EmailPurchaseSuggestions','0','0|EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that new purchase suggestions will be sent to: ','Choice'),
184
('EmailPurchaseSuggestions','0','0|EmailAddressForSuggestions|BranchEmailAddress|KohaAdminEmailAddress','Choose email address that new purchase suggestions will be sent to: ','Choice'),
185
- 

Return to bug 27252