Koha/installer/data/mysql/db_revs/240600010.pl
Katrin Fischer 2013ea70ec
Bug 34481: DBRev 24.06.00.010
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-06-27 14:04:50 +02:00

20 lines
691 B
Perl
Executable file

use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "34481",
description => "Add IncludeSeeAlsoFromInSearches like IncludeSeeFromInSearches",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
VALUES ('IncludeSeeAlsoFromInSearches','0','','Include see-also-from references in searches.','YesNo')
}
);
say_success( $out, "Added new system preference 'IncludeSeeAlsoFromInSearches'" );
},
};