Koha/installer/data/mysql/db_revs/231200008.pl
Katrin Fischer 3c0d244396
Bug 27595: DBRev 23.12.00.008
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-19 10:25:04 +01:00

18 lines
640 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "27595",
description => "Add system preference PlaceHoldsOnOrdersFromSuggestions",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('PlaceHoldsOnOrdersFromSuggestions','0',NULL,'If ON, enables generation of holds when orders are placed from suggestions','YesNo')
}
);
say $out "Added new system preference 'PlaceHoldsOnOrdersFromSuggestions'";
},
};