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

(-)a/installer/data/mysql/atomicupdate/bug_36197.pl (+14 lines)
Line 0 Link Here
1
use Modern::Perl;
2
return {
3
    bug_number  => "36197",
4
    description => "Add new ILLOpacUnauthenticatedRequest 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 ('ILLOpacUnauthenticatedRequest','',NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'); }
11
        );
12
        say $out "Added new system preference 'ILLOpacUnauthenticatedRequest'";
13
    },
14
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 329-334 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
329
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
329
('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'),
330
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
330
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
331
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
331
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
332
('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'),
332
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
333
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
333
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
334
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
334
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
335
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref (-1 / +7 lines)
Lines 48-53 Interlibrary loans: Link Here
48
            - pref: ILLOpacbackends
48
            - pref: ILLOpacbackends
49
              class: multi
49
              class: multi
50
            - (separated with |). If left empty, all installed backends will be enabled.
50
            - (separated with |). If left empty, all installed backends will be enabled.
51
        -
52
            - pref: ILLOpacUnauthenticatedRequest
53
              default: 0
54
              choices:
55
                  0: "Don't allow"
56
                  1: Allow
57
            - OPAC users to place ILL requests without having to be logged in.
51
    Workflow:
58
    Workflow:
52
        -
59
        -
53
            - pref: ILLCheckAvailability
60
            - pref: ILLCheckAvailability
54
- 

Return to bug 36197