Bugzilla – Attachment 166982 Details for
Bug 36819
Default layout data prints squished barcodes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36819: (follow-up) Updatedatabase to correct wrong value
Bug-36819-follow-up-Updatedatabase-to-correct-wron.patch (text/plain), 1.44 KB, created by
Martin Renvoize (ashimema)
on 2024-05-21 15:18:09 UTC
(
hide
)
Description:
Bug 36819: (follow-up) Updatedatabase to correct wrong value
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-21 15:18:09 UTC
Size:
1.44 KB
patch
obsolete
>From a679b763b6f12b6d5fa653691f44d8cbae26592c Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Tue, 21 May 2024 09:37:38 -0400 >Subject: [PATCH] Bug 36819: (follow-up) Updatedatabase to correct wrong value > >This patch adds an update to correct the value of scale_width to >0.800000 IF it is 0.080000. It should not change the value if it >is anything else than 0.080000. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > installer/data/mysql/atomicupdate/bug_36819.pl | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_36819.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_36819.pl b/installer/data/mysql/atomicupdate/bug_36819.pl >new file mode 100755 >index 00000000000..f002bf6c7bb >--- /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%"; >+ >+ }, >+}; >-- >2.45.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36819
:
166443
|
166667
|
166734
|
166735
|
166974
| 166982 |
166983