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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 58-63 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
58
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
58
('BakerTaylorPassword','','','Baker & Taylor Password for Content Cafe (external content)','Free'),
59
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
59
('BakerTaylorUsername','','','Baker & Taylor Username for Content Cafe (external content)','Free'),
60
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
60
('BasketConfirmations','1','always ask for confirmation.|do not ask for confirmation.','When closing or reopening a basket,','Choice'),
61
('batch_checkouts','',NULL,'Allow patron categories allowed to checkout in a batch','Free'),
61
('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'),
62
('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'),
62
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
63
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
63
('BlockReturnOfWithdrawnItems','1','0','If enabled, items that are marked as withdrawn cannot be returned.','YesNo'),
64
('BlockReturnOfWithdrawnItems','1','0','If enabled, items that are marked as withdrawn cannot be returned.','YesNo'),
(-)a/installer/data/mysql/updatedatabase.pl (+10 lines)
Lines 7953-7958 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
7953
    SetVersion($DBversion);
7953
    SetVersion($DBversion);
7954
}
7954
}
7955
7955
7956
$DBversion = "3.15.00.XXX";
7957
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
7958
    $dbh->do(q|
7959
        INSERT INTO systempreferences ( variable, value, options, explanation, type ) VALUES
7960
        ('batch_checkouts','','','Allow patron categories allowed to checkout in a batch','Free')
7961
    |);
7962
    print "Upgrade to $DBversion done (MT13483: Add batch_checkouts system preference)\n";
7963
    SetVersion($DBversion);
7964
}
7965
7956
=head1 FUNCTIONS
7966
=head1 FUNCTIONS
7957
7967
7958
=head2 TableExists($table)
7968
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 606-608 Circulation: Link Here
606
                  yes: Use
606
                  yes: Use
607
                  no: "Don't use"
607
                  no: "Don't use"
608
            - course reserves
608
            - course reserves
609
- 
609
    Batch checkout:
610
        -
611
            - "Allow some patron categories to checkout in a batch"
612
            - pref: batch_checkouts
613
            - "(list of patron category separated with a pipe '|')"
614

Return to bug 11759