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 (+9 lines)
Lines 9978-9983 if ( CheckVersion($DBversion) ) { Link Here
9978
    SetVersion($DBversion);
9978
    SetVersion($DBversion);
9979
}
9979
}
9980
9980
9981
$DBversion = "3.19.00.XXX";
9982
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
9983
    $dbh->do(q|
9984
        INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES
9985
        ('batch_checkouts','','','Allow patron categories allowed to checkout in a batch','Free')
9986
    |);
9987
    print "Upgrade to $DBversion done (Bug 11759: Add batch_checkouts system preference)\n";
9988
    SetVersion($DBversion);
9989
}
9981
9990
9982
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
9991
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
9983
# SEE bug 13068
9992
# SEE bug 13068
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +5 lines)
Lines 695-697 Circulation: Link Here
695
                  yes: Use
695
                  yes: Use
696
                  no: "Don't use"
696
                  no: "Don't use"
697
            - course reserves
697
            - course reserves
698
- 
698
    Batch checkout:
699
        -
700
            - "Allow some patron categories to checkout in a batch"
701
            - pref: batch_checkouts
702
            - "(list of patron category separated with a pipe '|')"

Return to bug 11759