Bugfixing Systempreferences:

* fix to bug in version 3.00.00.038 update (bad SQL)
    * putting finesCalendar and CircControl in Circulation tab in
systempreferences
    * changing default for IndependantBranches to 0
    * removing ' from integers
    * fix canreservefromotherbranches nomenclature

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2007-12-29 09:15:09 -05:00
parent a4004ade12
commit 1299d6b60c
3 changed files with 77 additions and 76 deletions

View file

@ -134,7 +134,8 @@ my %tabsysprefs;
$tabsysprefs{itemBarcodeInputFilter}="Circulation";
$tabsysprefs{noOPACHolds}="Circulation";
$tabsysprefs{WebBasedSelfCheck}="Circulation";
$tabsysprefs{CircControl}="Circulation";
$tabsysprefs{finesCalendar}="Circulation";
# Staff Client
$tabsysprefs{TemplateEncoding}="StaffClient";
$tabsysprefs{template}="StaffClient";

File diff suppressed because one or more lines are too long

View file

@ -796,7 +796,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$DBversion = "3.00.00.038";
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("UPDATE `systempreferences` set explanation='Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires fines cron script' , options='off|test|production' where variable='finesMode'");
$dbh->do("UPDATE `systempreferences` set explanation='Choose the fines mode, off, test (emails admin report) or production (accrue overdue fines). Requires fines cron script' , options='off|test|production' where variable='finesMode'");
$dbh->do("DELETE FROM `systempreferences` WHERE variable='hideBiblioNumber'");
print "Upgrade to $DBversion done ('alter finesMode systempreference, remove superfluous syspref.')\n";
SetVersion ($DBversion);