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

(-)a/C4/Circulation.pm (-1 / +1 lines)
Lines 898-904 sub CanBookBeIssued { Link Here
898
    }
898
    }
899
899
900
    # Additional Materials Check
900
    # Additional Materials Check
901
    if ( C4::Context->preference("CircConfirmParts") ) {
901
    if ( C4::Context->preference("CircConfirmItemParts") ) {
902
        my $no_of_parts = $item_object->materials || 0;
902
        my $no_of_parts = $item_object->materials || 0;
903
        if ( $no_of_parts > 0 ) {
903
        if ( $no_of_parts > 0 ) {
904
            $needsconfirmation{additional_materials} = $no_of_parts;
904
            $needsconfirmation{additional_materials} = $no_of_parts;
(-)a/circ/returns.pl (-1 / +1 lines)
Lines 297-303 if ($barcode) { Link Here
297
297
298
    # Block return if multi-part and confirm has not been received
298
    # Block return if multi-part and confirm has not been received
299
    my $needs_confirm = 0;
299
    my $needs_confirm = 0;
300
    if ( C4::Context->preference("CircConfirmParts") ) {
300
    if ( C4::Context->preference("CircConfirmItemParts") ) {
301
        if ( $item->materials > 0 && !$query->param('multiple_confirm') ) {
301
        if ( $item->materials > 0 && !$query->param('multiple_confirm') ) {
302
                $needs_confirm = 1;
302
                $needs_confirm = 1;
303
        }
303
        }
(-)a/installer/data/mysql/atomicupdate/bug_25261.perl (-2 / +2 lines)
Lines 1-6 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
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') });
3
    $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('CircConfirmItemParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'YesNo') });
4
4
5
    NewVersion( $DBversion, 25261, "Add CircConfirmParts syspref");
5
    NewVersion( $DBversion, 25261, "Add CircConfirmItemParts syspref");
6
}
6
}
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 123-129 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
123
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
123
('CataloguingLog','1',NULL,'If ON, log edit/create/delete actions on bibliographic data. WARNING: this feature is very resource consuming.','YesNo'),
124
('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'),
124
('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
('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'),
125
('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
('CircConfirmParts', '0', NULL, 'Require staff to confirm that all parts of an item are present at checkin/checkout.', 'Yes/No'),
126
('CircConfirmItemParts', '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'),
127
('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'),
128
('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'),
129
('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 (-2 / +1 lines)
Lines 7-13 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
10
            - pref: CircConfirmItemParts
11
              choices:
11
              choices:
12
                  yes: "Require"
12
                  yes: "Require"
13
                  no: "Don't require"
13
                  no: "Don't require"
14
- 

Return to bug 25261