[Koha-bugs] [Bug 26340] When printing labels from a barcode range, keep zero padding

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 15 00:37:57 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26340

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 111653
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111653&action=edit
Bug 26340: Keep zero padding when printing barcodes from a range

When creating barcode labels from a range, the leading zeros of padded
barcodes will be removed. They should be kept instead.

TO TEST:
1. Go to Tools > Label creator
2. Click +New -> Barcode range
3. Print barcode range with zero(s) in the start (Ex. from 00011881 to 00012000
)
4.
Select a template to be applied:: Code à barre 48467
Select a layout to be applied: Code à barres
5. Export
6. Open PDF
The prefix is not displayed. We should see 00011881 on the labels, but we see
11881, 11882, ... without zeros in the start of labels.
7. Apply patch and retest - the zeros should be kept now.

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list