From c82c3ce05a01487283f53d08ae15824da7475202 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Wed, 8 May 2024 17:01:08 -0400 Subject: [PATCH] Bug 36819: Default layout data prints squished barcodes This patch changes the default layout data for the barcode width. To test: **On a fresh db** 1. Go to Cataloging > Label creator 2. Click New > Label batch 3. Enter the following barcodes in the text field (or enter your own) 39999000010114 39999000010138 39999000010152 39999000011333 39999000002331 39999000002355 4. Click Add items 5. Click Export full batch 6. Choose the following - Template: Avery 5160 | 1 x 2-5/8 - Layout: Label test 7. Click Export 8. Click Download as PDF 9. Open the PDF --> Note the squished barcodes 10. Apply patch and reset_all 11. Redo steps 1 to 9 --> Note the barcodes now look OK --- installer/data/mysql/kohastructure.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 452103bfb3..8317880b47 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2397,7 +2397,7 @@ CREATE TABLE `creator_layouts` ( `oblique_title` int(1) DEFAULT 1, `font` char(10) NOT NULL DEFAULT 'TR', `font_size` int(4) NOT NULL DEFAULT 10, - `scale_width` decimal(28,6) NOT NULL DEFAULT 0.080000, + `scale_width` decimal(28,6) NOT NULL DEFAULT 0.800000, `scale_height` decimal(28,6) NOT NULL DEFAULT 0.010000, `units` char(20) NOT NULL DEFAULT 'POINT', `callnum_split` int(1) DEFAULT 0, -- 2.34.1