diff --git a/installer/data/mysql/atomicupdate/bug_36819.pl b/installer/data/mysql/atomicupdate/bug_36819.pl new file mode 100755 index 0000000000..f002bf6c7b --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_36819.pl @@ -0,0 +1,16 @@ +use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); + +return { + bug_number => "36819", + description => "Change barcode width value if it still has the wrong default value", + up => sub { + my ($args) = @_; + my ( $dbh, $out ) = @$args{qw(dbh out)}; + + $dbh->do(q{UPDATE creator_layouts SET scale_width = '0.800000' WHERE scale_width = '0.080000';}); + + say $out "Changed the barcode width in patron card creator default layout to 80% if it was 8%"; + + }, +};