Koha/installer/data/mysql/db_revs/221200034.pl
Tomas Cohen Arazi e791b3b6a6
Bug 33557: DBRev 22.12.00.034
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-10 15:26:26 -03:00

15 lines
602 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33557",
description => "Add a system preference LinkerConsiderThesaurus",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('LinkerConsiderThesaurus','0',NULL,'If ON the authority linker will only search for 6XX authorities from the same source as the heading','YesNo')
});
say $out "Added new system preference 'LinkerConsiderThesaurus'";
},
};