Koha/installer/data/mysql/db_revs/220600055.pl
Tomas Cohen Arazi 559d01c147
Bug 26368: DBRev 22.06.00.055
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-03 08:20:41 -03:00

15 lines
566 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "26368",
description => "Add OCLC Encoding Levels system preference",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type)
VALUES ('UseOCLCEncodingLevels','0',NULL,'If enabled, include OCLC encoding levels in leader value builder dropdown for position 17.','YesNo')
});
say $out "Added UseOCLCEncodingLevels system preference";
},
};