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 228-233 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
228
('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'),
228
('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'),
229
('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'),
229
('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'),
230
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
230
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
231
('IllCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'),
231
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
232
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
232
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
233
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
233
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
234
('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 832-837 Circulation: Link Here
832
                  yes: Enable
832
                  yes: Enable
833
                  no: Disable
833
                  no: Disable
834
            - unmediated Interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend.
834
            - unmediated Interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend.
835
        -
836
            - pref: ILLCheckAvailability
837
              default: 0
838
              choices:
839
                  yes: Check
840
                  no: Don't check
841
            - external sources for availability during the request process
835
    Fines Policy:
842
    Fines Policy:
836
        -
843
        -
837
            - Calculate fines based on days overdue
844
            - Calculate fines based on days overdue
838
- 

Return to bug 23173