Koha/installer/data/mysql/db_revs/231200009.pl
Katrin Fischer cfcae28c15
Bug 34668: DBRev 23.12.00.009
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-19 18:09:06 +01:00

17 lines
629 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34668",
description => "Notify staff with a pop-up about waiting holds when checking out",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{INSERT IGNORE INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('WaitingNotifyAtCheckout','0',NULL,'If ON, notify librarians of waiting holds for the patron whose items they are checking out.','YesNo') }
);
say $out "Added new system preference 'WaitingNotifyAtCheckout'";
},
};