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 120-125 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
120
('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'),
120
('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'),
121
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
121
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
122
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
122
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
123
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
123
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
124
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
124
('Coce','0', NULL, 'If on, enables cover retrieval from the configured Coce server', 'YesNo'),
125
('Coce','0', NULL, 'If on, enables cover retrieval from the configured Coce server', 'YesNo'),
125
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
126
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +7 lines)
Lines 819-824 Circulation: Link Here
819
                  yes: Enable
819
                  yes: Enable
820
                  no: Disable
820
                  no: Disable
821
            - unmediated Interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend.
821
            - unmediated Interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend.
822
        -
823
            - pref: CirculateILL
824
              default: 0
825
              choices:
826
                  yes: Enable
827
                  no: Disable
828
            - the circulation of ILL requested items
822
    Fines Policy:
829
    Fines Policy:
823
        -
830
        -
824
            - Calculate fines based on days overdue
831
            - Calculate fines based on days overdue
825
- 

Return to bug 23112