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

(-)a/installer/data/mysql/atomicupdate/bug_25261.perl (+6 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,options,explanation,type) VALUES ('CircConfirmParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'YesNo') });
4
5
    NewVersion( $DBversion, 25261, "Add CircConfirmParts syspref");
6
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 124-129 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
124
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
124
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
125
('CheckPrevCheckout','hardno','hardyes|softyes|softno|hardno','By default, for every item checked out, should we warn if the patron has borrowed that item in the past?','Choice'),
125
('CheckPrevCheckout','hardno','hardyes|softyes|softno|hardno','By default, for every item checked out, should we warn if the patron has borrowed that item in the past?','Choice'),
126
('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'),
126
('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'),
127
('CircConfirmParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'Yes/No'),
127
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
128
('CircControl','ItemHomeLibrary','PickupLibrary|PatronLibrary|ItemHomeLibrary','Specify the agency that controls the circulation and fines policy','Choice'),
128
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
129
('CircSidebar','0',NULL,'Activate or deactivate the navigation sidebar on all Circulation pages','YesNo'),
129
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
130
('CirculateILL','0','','If enabled, it is possible to circulate ILL items from within ILL','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 7-12 Circulation: Link Here
7
                  no: Deactivate
7
                  no: Deactivate
8
            - the navigation sidebar on all circulation pages.
8
            - the navigation sidebar on all circulation pages.
9
        -
9
        -
10
            - pref: CircConfirmParts
11
              choices:
12
                  yes: "Require"
13
                  no: "Don't require"
14
            - staff to confirm that all parts of an item are present at checkin/checkout.
15
        -
10
            - pref: AutoSwitchPatron
16
            - pref: AutoSwitchPatron
11
              choices:
17
              choices:
12
                  yes: "Enable"
18
                  yes: "Enable"
13
- 

Return to bug 25261