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

(-)a/installer/data/mysql/atomicupdate/bug_23112_add_CirculateILL_syspref.perl (+8 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q| INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type) VALUES ('CirculateILL', '0', 'If enabled, it is possible to circulate ILL requested items from within ILL', '', 'YesNo'); | );
4
5
    # Always end with this (adjust the bug info)
6
    SetVersion( $DBversion );
7
    print "Upgrade to $DBversion done (Bug 23112  - Add CirculateILL syspref)\n";
8
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 117-122 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
117
('CircAutoPrintQuickSlip','qslip',NULL,'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.','Choice'),
117
('CircAutoPrintQuickSlip','qslip',NULL,'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window or Clear the screen.','Choice'),
118
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
118
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
119
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
119
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
120
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
120
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
121
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
121
('Coce','0', NULL, 'If on, enables cover retrieval from the configured Coce server', 'YesNo'),
122
('Coce','0', NULL, 'If on, enables cover retrieval from the configured Coce server', 'YesNo'),
122
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
123
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
(-)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: CirculateILL
832
              default: 0
833
              choices:
834
                  yes: Enable
835
                  no: Disable
836
            - the circulation of ILL requested items
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 23112