Koha/installer/data/mysql/db_revs/220600043.pl
Tomas Cohen Arazi 4ccb34513a
Bug 20058: DBRev 22.06.00.043
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-12 17:45:52 -03:00

13 lines
540 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "20058",
description => "Option to use shelving location instead of homebranch for sorting",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type`) VALUES
('UseLocationAsAQInSIP', '0', '', 'Use permanent_location instead of homebranch for AQ in SIP response', 'YesNo')});
say $out "Syspref UseLocationAsAQInSIP has been added";
},
}