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

(-)a/installer/data/mysql/atomicupdate/bug_41932.pl (+19 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "41932",
6
    description => "Add syspref ClassSortGenericFormats",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
14
            ('ClassSortGenericFormats','',NULL,'This supports zero-padding formats for cn_sort in the generic sort routine','Free')
15
            }
16
        );
17
        say_success( $out, "Added new system preferences 'ClassSortGenericFormats'" );
18
    },
19
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 173-178 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
173
('ClaimReturnedWarningThreshold', '', NULL, 'Sets the number of return claims past which the librarian will be warned the patron has many return claims', 'Integer'),
173
('ClaimReturnedWarningThreshold', '', NULL, 'Sets the number of return claims past which the librarian will be warned the patron has many return claims', 'Integer'),
174
('ClaimsBccCopy','0',NULL,'Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
174
('ClaimsBccCopy','0',NULL,'Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
175
('ClaimsLog','1',NULL,'If ON, log all notices sent','YesNo'),
175
('ClaimsLog','1',NULL,'If ON, log all notices sent','YesNo'),
176
('ClassSortGenericFormats','',NULL,'This supports zero-padding formats for cn_sort in the generic sort routine','Free'),
176
('CleanUpDatabaseReturnClaims', '', NULL, 'Sets the age of resolved return claims to delete from the database for cleanup_database.pl', 'Integer'),
177
('CleanUpDatabaseReturnClaims', '', NULL, 'Sets the age of resolved return claims to delete from the database for cleanup_database.pl', 'Integer'),
177
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
178
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
178
('CoceProviders', '', 'aws,gb,ol', 'Coce providers', 'multiple'),
179
('CoceProviders', '', 'aws,gb,ol', 'Coce providers', 'multiple'),
179
- 

Return to bug 41932