Bug 30291: DBRev 21.12.00.048
[koha.git] / installer / data / mysql / db_revs / 211200004.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "26296",
5     description => "Replace comma with pipe in OPACSuggestion field preferences",
6     up => sub {
7         my ($args) = @_;
8         my $dbh = $args->{dbh};
9
10         $dbh->do(q{
11             UPDATE systempreferences SET value = REPLACE(value, ',', '|')
12             WHERE variable IN ('OPACSuggestionMandatoryFields','OPACSuggestionUnwantedFields')
13         });
14     },
15 }