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

(-)a/installer/data/mysql/atomicupdate/bug_23007_add_transfersblockcirc_preference.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{
4
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
5
        ('TransfersBlockCirc','1',NULL,'Should the transfer modal block circulation staff from continuing scanning items','YesNo')
6
    });
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 23007: Make transfer modals optionally block circ)\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 614-619 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
614
('TraceSubjectSubdivisions','0','1','Create searches on all subdivisions for subject tracings.','YesNo'),
614
('TraceSubjectSubdivisions','0','1','Create searches on all subdivisions for subject tracings.','YesNo'),
615
('TrackClicks','0',NULL,'Track links clicked','Integer'),
615
('TrackClicks','0',NULL,'Track links clicked','Integer'),
616
('TrackLastPatronActivity','0',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron is seen','YesNo'),
616
('TrackLastPatronActivity','0',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron is seen','YesNo'),
617
('TransfersBlockCirc','1',NULL,'Should the transfer modal block circulation staff from continuing scanning items','YesNo'),
617
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
618
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
618
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
619
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
619
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
620
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 567-572 Circulation: Link Here
567
                  yes: "Hide"
567
                  yes: "Hide"
568
                  no: "Don't hide"
568
                  no: "Don't hide"
569
            - patrons phone number, email address, street address and city on the circulation page.
569
            - patrons phone number, email address, street address and city on the circulation page.
570
        -
571
            - pref: TransfersBlockCirc
572
              choices:
573
                  yes: "Block"
574
                  no: "Don't block"
575
            - staff from continuing to checkin items when a transfer is triggered.
570
    Holds Policy:
576
    Holds Policy:
571
        -
577
        -
572
            - In the staff client, split the holds queue into separate tables by
578
            - In the staff client, split the holds queue into separate tables by
573
- 

Return to bug 23007