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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 63-68 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
63
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
63
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
64
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
64
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
65
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
65
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
66
('batch_checkouts','',NULL,'Allow patron categories allowed to checkout in a batch','Free'),
66
('BiblioAddsAuthorities','0',NULL,'If ON, adding a new biblio will check for an existing authority record and create one on the fly if one doesn\'t exist','YesNo'),
67
('BiblioAddsAuthorities','0',NULL,'If ON, adding a new biblio will check for an existing authority record and create one on the fly if one doesn\'t exist','YesNo'),
67
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
68
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
68
('BlockExpiredPatronOpacActions','1',NULL,'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis','YesNo'),
69
('BlockExpiredPatronOpacActions','1',NULL,'Set whether an expired patron can perform opac actions such as placing holds or renew books, can be overridden on a per patron-type basis','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+10 lines)
Lines 10761-10766 if ( CheckVersion($DBversion) ) { Link Here
10761
    SetVersion ($DBversion);
10761
    SetVersion ($DBversion);
10762
}
10762
}
10763
10763
10764
$DBversion = "3.21.00.XXX";
10765
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
10766
    $dbh->do(q|
10767
        INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
10768
        ('batch_checkouts','','','Allow patron categories allowed to checkout in a batch','Free')
10769
    |);
10770
    print "Upgrade to $DBversion done (Bug 11759: Add batch_checkouts system preference)\n";
10771
    SetVersion($DBversion);
10772
}
10773
10764
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10774
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
10765
# SEE bug 13068
10775
# SEE bug 13068
10766
# if there is anything in the atomicupdate, read and execute it.
10776
# if there is anything in the atomicupdate, read and execute it.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +5 lines)
Lines 689-691 Circulation: Link Here
689
                  yes: Use
689
                  yes: Use
690
                  no: "Don't use"
690
                  no: "Don't use"
691
            - course reserves
691
            - course reserves
692
- 
692
    Batch checkout:
693
        -
694
            - "Allow some patron categories to checkout in a batch"
695
            - pref: batch_checkouts
696
            - "(list of patron category separated with a pipe '|')"

Return to bug 11759