Koha/installer/data/mysql/db_revs/221200043.pl
Tomas Cohen Arazi 88989f44a3
Bug 21330: DBRev 22.12.00.043
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-15 18:24:05 -03:00

17 lines
580 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => '21330',
description => 'Add XSLT for authority details view in OPAC',
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`)
VALUES ('AuthorityXSLTOpacDetailsDisplay','','','Enable XSL stylesheet control over authority details page in the OPAC','Free')
});
say $out "Added new system preference 'AuthorityXSLTOpacDetailsDisplay'";
},
};