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 619-624 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
619
('TraceSubjectSubdivisions','0','1','Create searches on all subdivisions for subject tracings.','YesNo'),
619
('TraceSubjectSubdivisions','0','1','Create searches on all subdivisions for subject tracings.','YesNo'),
620
('TrackClicks','0',NULL,'Track links clicked','Integer'),
620
('TrackClicks','0',NULL,'Track links clicked','Integer'),
621
('TrackLastPatronActivity','0',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron is seen','YesNo'),
621
('TrackLastPatronActivity','0',NULL,'If set, the field borrowers.lastseen will be updated everytime a patron is seen','YesNo'),
622
('TransfersBlockCirc','1',NULL,'Should the transfer modal block circulation staff from continuing scanning items','YesNo'),
622
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
623
('TransfersMaxDaysWarning','3',NULL,'Define the days before a transfer is suspected of having a problem','Integer'),
623
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
624
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
624
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
625
('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 565-570 Circulation: Link Here
565
                  yes: "Hide"
565
                  yes: "Hide"
566
                  no: "Don't hide"
566
                  no: "Don't hide"
567
            - patrons phone number, email address, street address and city on the circulation page.
567
            - patrons phone number, email address, street address and city on the circulation page.
568
        -
569
            - pref: TransfersBlockCirc
570
              choices:
571
                  yes: "Block"
572
                  no: "Don't block"
573
            - staff from continuing to checkin items when a transfer is triggered.
568
    Holds Policy:
574
    Holds Policy:
569
        -
575
        -
570
            - In the staff client, split the holds queue into separate tables by
576
            - In the staff client, split the holds queue into separate tables by
571
- 

Return to bug 23007