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

(-)a/installer/data/mysql/atomicupdate/bug_20028.pl (+15 lines)
Line 0 Link Here
1
use Modern::Perl;
2
3
return {
4
    bug_number => "20028",
5
    description => "Add pref AllowGDPRPatronExport",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{
10
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
11
('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo')
12
        });
13
        #say $out "Update is going well so far";
14
    },
15
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-2 / +1 lines)
Lines 25-31 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
25
('AllFinesNeedOverride','1','0','If on, staff will be asked to override every fine, even if it is below noissuescharge.','YesNo'),
25
('AllFinesNeedOverride','1','0','If on, staff will be asked to override every fine, even if it is below noissuescharge.','YesNo'),
26
('AllowAllMessageDeletion','0','','Allow any Library to delete any message','YesNo'),
26
('AllowAllMessageDeletion','0','','Allow any Library to delete any message','YesNo'),
27
('AllowFineOverride','0','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','YesNo'),
27
('AllowFineOverride','0','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','YesNo'),
28
('AllowGDPRPatronExport','1','','If set all data for a patron can be exported from the staff interface.','YesNo'),
28
('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo'),
29
('AllowHoldDateInFuture','0','','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','YesNo'),
29
('AllowHoldDateInFuture','0','','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','YesNo'),
30
('AllowHoldItemTypeSelection','0','','If enabled, patrons and staff will be able to select the itemtype when placing a hold','YesNo'),
30
('AllowHoldItemTypeSelection','0','','If enabled, patrons and staff will be able to select the itemtype when placing a hold','YesNo'),
31
('AllowHoldPolicyOverride','0',NULL,'Allow staff to override hold policies when placing holds','YesNo'),
31
('AllowHoldPolicyOverride','0',NULL,'Allow staff to override hold policies when placing holds','YesNo'),
32
- 

Return to bug 20028