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
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
313
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
314
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
314
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
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 (-1 / +5 lines)
Lines 77-79 Interlibrary loans: Link Here
77
              type: textarea
77
              type: textarea
78
              syntax: text/x-yaml
78
              syntax: text/x-yaml
79
              class: code
79
              class: code
80
- 
80
        -
81
            - "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>"
82
            - "If no backend is selected, automatic backend selection will not take place."
83
            - pref: AutoILLBackendPriority
84
              type: ill-backends

Return to bug 35604