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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 593-599 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
593
('SCOUserCSS','',NULL,'Add CSS to be included in the SCO module in an embedded <style> tag.','free'),
593
('SCOUserCSS','',NULL,'Add CSS to be included in the SCO module in an embedded <style> tag.','free'),
594
('SCOUserJS','',NULL,'Define custom javascript for inclusion in the SCO module','free'),
594
('SCOUserJS','',NULL,'Define custom javascript for inclusion in the SCO module','free'),
595
('SearchEngine','Zebra','Elasticsearch|Zebra','Search Engine','Choice'),
595
('SearchEngine','Zebra','Elasticsearch|Zebra','Search Engine','Choice'),
596
('SearchLimitLibrary', 'both', 'homebranch|holdingbranch|both', "When limiting search results with a library or library group, use the item's home library, or holding library, or both.", 'Choice'),
596
('SearchLimitLibrary', 'homebranch', 'homebranch|holdingbranch|both', "When limiting search results with a library or library group, use the item's home library, or holding library, or both.", 'Choice'),
597
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
597
('SearchMyLibraryFirst','0',NULL,'If ON, OPAC searches return results limited by the user\'s library by default if they are logged in','YesNo'),
598
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
598
('SearchWithISBNVariations','0',NULL,'If enabled, search on all variations of the ISBN','YesNo'),
599
('SelfCheckAllowByIPRanges','',NULL,'(Leave blank if not used. Use ranges or simple ip addresses separated by spaces, like <code>192.168.1.1 192.168.0.0/24</code>.)','Short'),
599
('SelfCheckAllowByIPRanges','',NULL,'(Leave blank if not used. Use ranges or simple ip addresses separated by spaces, like <code>192.168.1.1 192.168.0.0/24</code>.)','Short'),
(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 24191-24197 if( CheckVersion( $DBversion ) ) { Link Here
24191
$DBversion = '20.12.00.045';
24191
$DBversion = '20.12.00.045';
24192
if( CheckVersion( $DBversion ) ) {
24192
if( CheckVersion( $DBversion ) ) {
24193
    $dbh->do(q{
24193
    $dbh->do(q{
24194
        INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SearchLimitLibrary', 'both', 'homebranch|holdingbranch|both', "When limiting search results with a library or library group, use the item's home library, or holding library, or both.", 'Choice')
24194
        INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('SearchLimitLibrary', 'homebranch', 'homebranch|holdingbranch|both', "When limiting search results with a library or library group, use the item's home library, or holding library, or both.", 'Choice')
24195
    });
24195
    });
24196
24196
24197
    NewVersion( $DBversion, 21249, "Adding new system preference SearchLimitLibrary" );
24197
    NewVersion( $DBversion, 21249, "Adding new system preference SearchLimitLibrary" );
24198
- 

Return to bug 29152