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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 462-468 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
462
('OPACAllowUserToChangeBranch','','Pending, In-Transit, Suspended','Allow users to change the library to pick up a hold for these statuses:','multiple'),
462
('OPACAllowUserToChangeBranch','','Pending, In-Transit, Suspended','Allow users to change the library to pick up a hold for these statuses:','multiple'),
463
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
463
('OPACAllowUserToChooseBranch','1','1','Allow the user to choose the branch they want to pickup their hold from','YesNo'),
464
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
464
('OPACAmazonCoverImages','0','','Display cover images on OPAC from Amazon Web Services','YesNo'),
465
('OPACAuthorIdentifiers','0','','Display author identifiers on the OPAC detail page','YesNo'),
465
('OPACAuthorIdentifiersAndInformation', '', '', 'Display author information on the OPAC detail page','multiple_sortable'),
466
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
466
('OpacAuthorities','1',NULL,'If ON, enables the search authorities link on OPAC','YesNo'),
467
('OPACBaseURL','',NULL,'Specify the Base URL of the OPAC, e.g., http://opac.mylibrary.com, including the protocol (http:// or https://). Otherwise, the http:// will be added automatically by Koha upon saving.','Free'),
467
('OPACBaseURL','',NULL,'Specify the Base URL of the OPAC, e.g., http://opac.mylibrary.com, including the protocol (http:// or https://). Otherwise, the http:// will be added automatically by Koha upon saving.','Free'),
468
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
468
('opacbookbag','1','','If ON, enables display of Cart feature','YesNo'),
(-)a/t/db_dependent/check_sysprefs.t (-3 / +2 lines)
Lines 70-82 subtest 'Compare sysprefs.sql with YAML files' => sub { Link Here
70
    my @missing_yaml = array_minus( @sysprefs_mod, @yaml_mod );
70
    my @missing_yaml = array_minus( @sysprefs_mod, @yaml_mod );
71
    is( scalar @missing_yaml, 0, "No system preference entries missing from sysprefs.sql" );
71
    is( scalar @missing_yaml, 0, "No system preference entries missing from sysprefs.sql" );
72
    if ( scalar @missing_yaml > 0 ) {
72
    if ( scalar @missing_yaml > 0 ) {
73
        print "System preferences missing from YAML:\n  * " . join( "\n  * ", @missing_yaml ) . "\n";
73
        diag "System preferences missing from YAML:\n  * " . join( "\n  * ", @missing_yaml ) . "\n";
74
    }
74
    }
75
75
76
    my @missing_sysprefs = array_minus( @yaml_mod, @sysprefs_mod );
76
    my @missing_sysprefs = array_minus( @yaml_mod, @sysprefs_mod );
77
    is( scalar @missing_sysprefs, 0, "No system preference entries missing from YAML files" );
77
    is( scalar @missing_sysprefs, 0, "No system preference entries missing from YAML files" );
78
    if ( scalar @missing_sysprefs > 0 ) {
78
    if ( scalar @missing_sysprefs > 0 ) {
79
        print "System preferences missing from sysprefs.sql:\n  * " . join( "\n  * ", @missing_sysprefs ) . "\n";
79
        diag "System preferences missing from sysprefs.sql:\n  * " . join( "\n  * ", @missing_sysprefs ) . "\n";
80
    }
80
    }
81
};
81
};
82
82
83
- 

Return to bug 29948