Koha/installer/data/mysql/atomicupdate/bug_25426.pl
Katrin Fischer 0313a44ca7
Bug 25426: (QA follow-up) Small fixes to POD and INSERT IGNORE or datatabase update
* 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>
2022-10-18 09:14:57 -03:00

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