@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_20028.pl | 15 +++++++++++++++ installer/data/mysql/mandatory/sysprefs.sql | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 installer/data/mysql/atomicupdate/bug_20028.pl --- a/installer/data/mysql/atomicupdate/bug_20028.pl +++ a/installer/data/mysql/atomicupdate/bug_20028.pl @@ -0,0 +1,15 @@ +use Modern::Perl; + +return { + bug_number => "20028", + description => "Add pref AllowGDPRPatronExport", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + $dbh->do(q{ +INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES +('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo') + }); + #say $out "Update is going well so far"; + }, +} --- a/installer/data/mysql/mandatory/sysprefs.sql +++ a/installer/data/mysql/mandatory/sysprefs.sql @@ -25,7 +25,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('AllFinesNeedOverride','1','0','If on, staff will be asked to override every fine, even if it is below noissuescharge.','YesNo'), ('AllowAllMessageDeletion','0','','Allow any Library to delete any message','YesNo'), ('AllowFineOverride','0','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','YesNo'), -('AllowGDPRPatronExport','1','','If set all data for a patron can be exported from the staff interface.','YesNo'), +('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo'), ('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'), ('AllowHoldItemTypeSelection','0','','If enabled, patrons and staff will be able to select the itemtype when placing a hold','YesNo'), ('AllowHoldPolicyOverride','0',NULL,'Allow staff to override hold policies when placing holds','YesNo'), --