|
Line 0
Link Here
|
| 0 |
- |
1 |
use Modern::Perl; |
|
|
2 |
use Koha::Installer::Output qw(say_warning say_failure say_success say_info); |
| 3 |
|
| 4 |
return { |
| 5 |
bug_number => "36819", |
| 6 |
description => "Change barcode width value if it still has the wrong default value", |
| 7 |
up => sub { |
| 8 |
my ($args) = @_; |
| 9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
| 10 |
|
| 11 |
$dbh->do(q{UPDATE creator_layouts SET scale_width = '0.800000' WHERE scale_width = '0.080000';}); |
| 12 |
|
| 13 |
say $out "Changed the barcode width in patron card creator default layout to 80% if it was 8%"; |
| 14 |
|
| 15 |
}, |
| 16 |
}; |