From e0bbb133ff6fd8cd8a10bba2fcf6cdf9c2e16bdb Mon Sep 17 00:00:00 2001 From: Lari Taskula Date: Thu, 3 Mar 2022 00:02:17 +0000 Subject: [PATCH] Bug 30200: Add a new system preference ILLRequestsTabs Signed-off-by: Magnus Enger Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Magnus Enger --- .../Bug_30200-Add_ILLRequestsTabs.pl | 18 ++++++++++++++++++ installer/data/mysql/mandatory/sysprefs.sql | 1 + 2 files changed, 19 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl diff --git a/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl new file mode 100644 index 00000000000..5c6cb265ba6 --- /dev/null +++ b/installer/data/mysql/atomicupdate/Bug_30200-Add_ILLRequestsTabs.pl @@ -0,0 +1,18 @@ +use Modern::Perl; + +return { + bug_number => "30200", + description => "Add customizable tabs to interlibrary loan requests list", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + # Do you stuffs here + $dbh->do(q{ + INSERT INTO `systempreferences` + (variable,value,options,explanation,type) + VALUES + ('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'); + }); + + }, +}; diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql index f788223be19..3e29768ac51 100644 --- a/installer/data/mysql/mandatory/sysprefs.sql +++ b/installer/data/mysql/mandatory/sysprefs.sql @@ -334,6 +334,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'), ('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'), ('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'), +('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'), ('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'), ('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'), ('ILS-DI:AuthorizedIPs','','Restricts usage of ILS-DI to some IPs','.','Free'), -- 2.49.0