Koha/installer/data/mysql/db_revs/220600032.pl
Tomas Cohen Arazi 45d9dd8c42
Bug 30500: DBRev 22.06.00.032
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-05 11:56:24 -03:00

18 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'";
},
}