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

Return to bug 23173