[Bug 30140] New: autoMemberNum doesn't check CardnumberLength when generating a number
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30140 Bug ID: 30140 Summary: autoMemberNum doesn't check CardnumberLength when generating a number Change sponsored?: --- Product: Koha Version: 21.11 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: fsoares@fsoares.com.br QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com If you have autoMemberNum turned on it doesn't check the CardnumberLength system preference when generating a number. Example: - last cardNumber is '002150'. - CardnumberLength set to '6'. - autoMemberNum turned on. When I create new patron and save it, then the new cardNumber generated by system via autoMemberNum will be '2151' and not '002151' as expected due CardnumberLength set to '6'. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30140 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|autoMemberNum doesn't check |Allow for autoMemberNum to |CardnumberLength when |generate cardnumbers with |generating a number |leading zeros Severity|minor |enhancement --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Fernando, CardnumberLength is supposed to be used for checking that entered cardnumbers are valid. It doesn't work the way you want to in adding the leading zeros. The autoMemberNum is just made to add 1 to the biggest cardnumbernumber in your system. At the moment it can't handle adding leading zeros, but I think that would have to be a separate pref or option. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30140 Anke Bruns <anke.bruns@gwdg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anke.bruns@gwdg.de --- Comment #2 from Anke Bruns <anke.bruns@gwdg.de> --- This would be a great enhancement! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30140 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|21.11 |master -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org