Koha-clms/installer/data/mysql/db_revs/220600032.pl

19 lines
648 B
Perl
Executable File

use Modern::Perl;
return {
bug_number => "30500",
description => "Add option to allow user to change the pickup location while a hold is in transit",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
VALUES
('OPACInTransitHoldPickupLocationChange','0',NULL,'Allow user to change the pickup location while a hold is in transit','YesNo')
});
say $out "Added new system preference 'OPACInTransitHoldPickupLocationChange'";
},
}