Koha/installer/data/mysql/db_revs/210600032.pl
Jonathan Druart ccaa25a70d Bug 29138: DBRev 21.06.00.032
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-12 11:15:32 +02:00

14 lines
410 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "29138",
description => "Use a zero instead of a 'no' in LoadSearchHistoryToTheFirstLoggedUser",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE systempreferences SET value='0'
WHERE variable='LoadSearchHistoryToTheFirstLoggedUser' AND value='no';
});
},
}