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

(-)a/installer/data/mysql/atomicupdate/bug_23208.pl (-5 / +8 lines)
Lines 1-15 Link Here
1
use Modern::Perl;
1
use Modern::Perl;
2
2
3
return {
3
return {
4
    bug_number => "23208",
4
    bug_number  => "23208",
5
    description => "Add system preference HoldRatioDefault",
5
    description => "Add system preference HoldRatioDefault",
6
    up => sub {
6
    up          => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
9
        # Do you stuffs here
10
        # Do you stuffs here
10
        $dbh->do(q{
11
        $dbh->do(
12
            q{
11
            INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
13
            INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
12
            VALUES ('HoldRatioDefault','3','','Default value for the Hold ratio report','Integer')
14
            VALUES ('HoldRatioDefault','3','','Default value for the Hold ratio report','Integer')
13
        });
15
        }
16
        );
14
    },
17
    },
15
};
18
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-2 / +1 lines)
Lines 288-294 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
288
('HidePatronName','0','','If this is switched on, patron\'s cardnumber will be shown instead of their name on the holds and catalog screens','YesNo'),
288
('HidePatronName','0','','If this is switched on, patron\'s cardnumber will be shown instead of their name on the holds and catalog screens','YesNo'),
289
('HidePersonalPatronDetailOnCirculation', 0, '', 'Hide patrons phone number, email address, street address and city in the circulation page','YesNo'),
289
('HidePersonalPatronDetailOnCirculation', 0, '', 'Hide patrons phone number, email address, street address and city in the circulation page','YesNo'),
290
('HoldFeeMode','not_always','any_time_is_placed|not_always|any_time_is_collected','Set the hold fee mode','Choice'),
290
('HoldFeeMode','not_always','any_time_is_placed|not_always|any_time_is_collected','Set the hold fee mode','Choice'),
291
('HoldRatioDefault','3','','Default value for the hold ratio reprt','Integer'),
291
('HoldRatioDefault','3','','Default value for the hold ratio report','Integer'),
292
('HoldsAutoFill','0',NULL,'If on, librarian will not be asked if hold should be filled, it will be filled automatically','YesNo'),
292
('HoldsAutoFill','0',NULL,'If on, librarian will not be asked if hold should be filled, it will be filled automatically','YesNo'),
293
('HoldsAutoFillPrintSlip','0',NULL,'If on, hold slip print dialog will be displayed automatically','YesNo'),
293
('HoldsAutoFillPrintSlip','0',NULL,'If on, hold slip print dialog will be displayed automatically','YesNo'),
294
('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo'),
294
('HoldsLog','0',NULL,'If ON, log create/cancel/suspend/resume actions on holds.','YesNo'),
295
- 

Return to bug 23208