[Koha-bugs] [Bug 27426] New: Plugin barcode must keep leading zeros

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 17:05:11 CET 2021


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

            Bug ID: 27426
           Summary: Plugin barcode must keep leading zeros
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

If autoBarcode is set to incremental, we are generating the next barcode adding
1, but casting to integer.

If you have 
"0001"
"0002"
the next barcode will be "3".

Should not we keep the leading zeros and generate "0003" instead?

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


More information about the Koha-bugs mailing list