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 119-124 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
119
('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'),
119
('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
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
120
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
121
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
121
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
122
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
122
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
123
('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo'),
123
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
124
('CoceHost', '', NULL, 'Coce server URL', 'Free'),
124
('CoceProviders', '', 'aws,gb,ol', 'Coce providers', 'multiple'),
125
('CoceProviders', '', 'aws,gb,ol', 'Coce providers', 'multiple'),
(-)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: CirculateILL
836
              default: 0
837
              choices:
838
                  yes: Enable
839
                  no: Disable
840
            - the circulation of ILL requested items
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 23112