|
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 => "38794", |
| 6 |
description => "Update description of authorized value AggregatedFullText", |
| 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 authorised_values set lib = "Aggregated full text" where category = "ERM_PACKAGE_CONTENT_TYPE" and authorised_value = "AggregatedFullText" and lib = "Aggregated full"} |
| 14 |
); |
| 15 |
|
| 16 |
say_success( $out, "Updated description of authorized value AggregatedFullText" ); |
| 17 |
|
| 18 |
}, |
| 19 |
}; |