0313a44ca7
* Makes sure the system preference is added with INSERT IGNORE * Some smaller fixes/additions to the POD of get_return_branch_policy Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
17 lines
509 B
Perl
Executable file
17 lines
509 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "25426",
|
|
description => "Add new syspref CircControlReturnsBranch",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ($dbh, $out) = @$args{qw(dbh out)};
|
|
|
|
$dbh->do(q{
|
|
INSERT IGNORE INTO systempreferences VALUES (
|
|
'CircControlReturnsBranch','ItemHomeLibrary','ItemHomeLibrary|ItemHoldingLibrary|CheckInLibrary',
|
|
'Specify the agency that controls the return policy','Choice'
|
|
)
|
|
});
|
|
},
|
|
};
|