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

Return to bug 23173