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

(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 204-210 INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES Link Here
204
	('TagsExternalDictionary',NULL,'','Path on server to local ispell executable, used to set $Lingua::Ispell::path  This dictionary is used as a \"whitelist\" of pre-allowed tags.',''),
204
	('TagsExternalDictionary',NULL,'','Path on server to local ispell executable, used to set $Lingua::Ispell::path  This dictionary is used as a \"whitelist\" of pre-allowed tags.',''),
205
	('TagsInputOnDetail','1','','Allow users to input tags from the detail page.',         'YesNo'),
205
	('TagsInputOnDetail','1','','Allow users to input tags from the detail page.',         'YesNo'),
206
	('TagsInputOnList',  '0','','Allow users to input tags from the search results list.', 'YesNo'),
206
	('TagsInputOnList',  '0','','Allow users to input tags from the search results list.', 'YesNo'),
207
	('TagsModeration',  NULL,'','Require tags from patrons to be approved before becoming visible.','YesNo'),
207
	('TagsModeration',  '0','','Require tags from patrons to be approved before becoming visible.','YesNo'),
208
	('TagsShowOnDetail','10','','Number of tags to display on detail page.  0 is off.',        'Integer'),
208
	('TagsShowOnDetail','10','','Number of tags to display on detail page.  0 is off.',        'Integer'),
209
	('TagsShowOnList',   '6','','Number of tags to display on search results list.  0 is off.','Integer');
209
	('TagsShowOnList',   '6','','Number of tags to display on search results list.  0 is off.','Integer');
210
210
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +7 lines)
Lines 3655-3660 if (C4::Context->preference('Version') < TransformToNum($DBversion)){ Link Here
3655
    SetVersion ($DBversion);
3655
    SetVersion ($DBversion);
3656
}
3656
}
3657
3657
3658
$DBversion = 'XXX';
3659
if (C4::Context->preference('Version') < TransformToNum($DBversion)){
3660
    $dbh->do("UPDATE systempreferences SET value = '0' WHERE variable = 'TagsModeration' AND value = 'NULL'");
3661
    print "Upgrade to $DBversion done (bug 4312 TagsModeration changed from NULL to 0)\n";
3662
    SetVersion ($DBversion);
3663
}
3664
3658
3665
3659
=item DropAllForeignKeys($table)
3666
=item DropAllForeignKeys($table)
3660
3667
3661
- 

Return to bug 4312