Bug 30200: Add a new system preference ILLRequestsTabs

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lari Taskula 2022-03-03 00:02:17 +00:00 committed by Katrin Fischer
parent 23eab5df2f
commit 9fabd8cac3
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 19 additions and 0 deletions

View File

@ -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');
});
},
};

View File

@ -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'),