From 644470560cfc45a8a34f7bbe71af0a8b5c79a9d2 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 Signed-off-by: David Nind --- 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 51506b456a..dced411a16 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -2398,7 +2398,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.39.2