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

(-)a/installer/data/mysql/atomicupdate/bug_23173_add_ILLCheckAvailability_syspref.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # you can use $dbh here like:
4
    # $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('ILLCheckAvailability', '0', 'If enabled, during the ILL request process third party sources will be checked for current availability', '', 'YesNo'); | );
5
6
    # Always end with this (adjust the bug info)
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 23173 - Add ILLCheckAvailability syspref)\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 231-236 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
231
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
231
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
232
('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'),
232
('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'),
233
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
233
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
234
('IllCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'),
234
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
235
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
235
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
236
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
236
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
237
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 862-867 Circulation: Link Here
862
                  yes: Enable
862
                  yes: Enable
863
                  no: Disable
863
                  no: Disable
864
            - the circulation of ILL requested items
864
            - the circulation of ILL requested items
865
        -
866
            - pref: ILLCheckAvailability
867
              default: 0
868
              choices:
869
                  yes: Check
870
                  no: Don't check
871
            - external sources for availability during the request process
865
    Fines Policy:
872
    Fines Policy:
866
        -
873
        -
867
            - pref: finesCalendar
874
            - pref: finesCalendar
868
- 

Return to bug 23173