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

(-)a/installer/data/mysql/atomicupdate/bug_35604.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
return {
3
    bug_number  => "35604",
4
    description => "Add new AutoILLBackendPriority system preferences",
5
    up          => sub {
6
        my ($args) = @_;
7
        my ( $dbh, $out ) = @$args{qw(dbh out)};
8
9
        $dbh->do(
10
            q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoILLBackendPriority','',NULL,'Set the automatic backend selection priority','ILLBackends'); }
11
        );
12
        say $out "Added new system preference 'AutoILLBackendPriority'";
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 313-318 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
313
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
313
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
314
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
314
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
315
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
315
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
316
('AutoILLBackendPriority','',NULL,'Set the automatic backend selection priority','ILLBackends'),
316
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
317
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
317
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
318
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
318
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
319
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref (-2 / +6 lines)
Lines 81-84 Interlibrary loans: Link Here
81
            - pref: ILLModuleDisclaimerByType
81
            - pref: ILLModuleDisclaimerByType
82
              type: textarea
82
              type: textarea
83
              syntax: text/x-yaml
83
              syntax: text/x-yaml
84
              class: code
84
              class: code
85
        -
86
            - "Select which backends will be queried for availability and in what order of priority. The first available backend will be suggested to place the request with.<br>"
87
            - "If no backend is selected, automatic backend selection will not take place."
88
            - pref: AutoILLBackendPriority
89
              type: ill-backends
85
- 

Return to bug 35604