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 326-331 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
326
('AutoILLBackendPriority','',NULL,'Set the automatic backend selection priority','ILLBackends'),
326
('AutoILLBackendPriority','',NULL,'Set the automatic backend selection priority','ILLBackends'),
327
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
327
('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'),
328
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
328
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
329
('ILLOpacUnauthenticatedRequest',NULL,NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'),
329
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
330
('ILLPartnerCode','IL','','Patrons from this patron category will be used as partners to place ILL requests with','free'),
330
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
331
('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'),
331
('ILS-DI','0','','Enables ILS-DI services at OPAC.','YesNo'),
332
('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 47-52 Interlibrary loans: Link Here
47
            - pref: ILLOpacbackends
47
            - pref: ILLOpacbackends
48
              class: multi
48
              class: multi
49
            - (separated with |). If left empty, all installed backends will be enabled.
49
            - (separated with |). If left empty, all installed backends will be enabled.
50
        -
51
            - pref: ILLOpacUnauthenticatedRequest
52
              default: 0
53
              choices:
54
                  0: "Don't allow"
55
                  1: Allow
56
            - OPAC users to place ILL requests without having to be logged in.
50
    Workflow:
57
    Workflow:
51
        -
58
        -
52
            - pref: ILLCheckAvailability
59
            - pref: ILLCheckAvailability
53
- 

Return to bug 36197