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

(-)a/installer/data/mysql/sysprefs.sql (-1 / +4 lines)
Lines 446-450 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
446
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
446
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
447
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
447
('yuipath','local','local|http://yui.yahooapis.com/2.5.1/build','Insert the path to YUI libraries, choose local if you use koha offline','Choice'),
448
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
448
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
449
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
449
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo'),
450
('defaultlongoverduechargevalue', NULL, NULL, "Charge a lost item to the borrower's account when the LOST value of the item changes to n.", 'integer');
451
('defaultlongoverduedays', NULL, NULL, "Set the LOST value of an item when the item has been overdue for more than n days.", 'integer');
452
('defaultlongoverduelostvalue', NULL, NULL, "Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.", 'integer');
450
;
453
;
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 8801-8809 if ( CheckVersion($DBversion) ) { Link Here
8801
}
8801
}
8802
8802
8803
8803
8804
$DBversion = "3.17.00.XXX";
8805
if( CheckVersion($DBversion) ){
8806
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduechargevalue','Charge a lost item to the borrower account when the LOST value of the item changes to n',  'integer')");
8807
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduelostvalue', 'Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.', 'integer')");
8808
    $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('defaultlongoverduedays', 'Set the LOST value of an item when the item has been overdue for more than n days.',  'integer')");
8809
    print "Upgrade to $DBversion done (Bug 8337: System preferences for longoverdue cron)\n";
8810
    SetVersion($DBversion);
8811
}
8812
8804
=head1 FUNCTIONS
8813
=head1 FUNCTIONS
8805
8814
8806
=head2 TableExists($table)
8815
=head2 TableExists($table)
8816
a
8807
8817
8808
=cut
8818
=cut
8809
8819
8810
- 

Return to bug 8337