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

(-)a/installer/data/mysql/atomicupdate/bug_23686_autocheck_onsitecheckout.perl (-1 / +3 lines)
Lines 3-8 if( CheckVersion( $DBversion ) ) { Link Here
3
3
4
    $dbh->do(qq{
4
    $dbh->do(qq{
5
        INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
5
        INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES
6
        ('OnSiteCheckoutAutoCheck','0','','onsite Checkout by default if last checkout was an onsite checkout box','YesNo')
6
        ('OnSiteCheckoutAutoCheck','0','','Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo')
7
    });
7
    });
8
    SetVersion( $DBversion );
9
    print "Upgrade to $DBversion done (Bug 23686: Add OnSiteCheckoutAutoCheck system preference)\n";
8
}
10
}
(-)a/installer/data/mysql/sysprefs.sql (-2 / +1 lines)
Lines 243-249 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
243
('RecordedBooksLibraryID','','','Library ID for RecordedBooks integration','Integer'),
243
('RecordedBooksLibraryID','','','Library ID for RecordedBooks integration','Integer'),
244
('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'),
244
('OnSiteCheckouts','0','','Enable/Disable the on-site checkouts feature','YesNo'),
245
('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'),
245
('OnSiteCheckoutsForce','0','','Enable/Disable the on-site for all cases (Even if a user is debarred, etc.)','YesNo'),
246
('OnSiteCheckoutAutoCheck','0','','onsite Checkout by default if last checkout was an onsite checkout box','YesNo'),
246
('OnSiteCheckoutAutoCheck','0','','Enable/Do not enable onsite checkout by default if last checkout was an onsite checkout','YesNo'),
247
('INTRAdidyoumean','',NULL,'Did you mean? configuration for the Intranet. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free'),
247
('INTRAdidyoumean','',NULL,'Did you mean? configuration for the Intranet. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free'),
248
('IntranetBiblioDefaultView','normal','normal|marc|isbd|labeled_marc','Choose the default detail view in the staff interface; choose between normal, labeled_marc, marc or isbd','Choice'),
248
('IntranetBiblioDefaultView','normal','normal|marc|isbd|labeled_marc','Choose the default detail view in the staff interface; choose between normal, labeled_marc, marc or isbd','Choice'),
249
('intranetbookbag','1','','If ON, enables display of Cart feature in the intranet','YesNo'),
249
('intranetbookbag','1','','If ON, enables display of Cart feature in the intranet','YesNo'),
250
- 

Return to bug 23686