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

(-)a/installer/data/mysql/atomicupdate/bug_39610.pl (+20 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_success);
3
4
return {
5
    bug_number  => "39610",
6
    description => "Add ILLOpacMetadataFields to systempreferences",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{
13
            INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES 
14
            ('ILLOpacMetadataFields','author|title',NULL,'Metadata fields to show in OPAC ILL table','multiple');
15
        }
16
        );
17
18
        say_success $out, "Added new system preference 'ILLOpacMetadataFields'";
19
    },
20
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 333-338 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
333
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
333
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
334
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
334
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
335
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
335
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
336
('ILLOpacMetadataFields','author|title',NULL,'Metadata fields to show in OPAC ILL table','multiple'),
336
('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'),
337
('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'),
337
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
338
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
338
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'),
339
('ILLRequestsTabs','','','Add customizable tabs to interlibrary loan requests list','Textarea'),
339
- 

Return to bug 39610