View | Details | Raw Unified | Return to bug 38876
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_38876.pl (-1 / +20 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "38876",
6
    description => "Typo in UpdateNotForLoanStatusOnCheckout description",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        # Do you stuffs here
12
        $dbh->do(
13
            q{UPDATE systempreferences (explanation) VALUES ('This is a list of value pairs. When an item is checked out, if its not for loan value matches the value on the left, then the items not for loan value will be updated to the value on the right. \nE.g. ''-1: 0'' will cause an item that was set to ''Ordered'' to now be available for loan. Each pair of values should be on a separate line.') WHERE variable='UpdateNotForLoanStatusOnCheckout'}
14
        );
15
16
        # sysprefs
17
        say $out "Updated system preference 'UpdateNotForLoanStatusOnCheckout'";
18
19
    },
20
};

Return to bug 38876