[Bug 42752] New: Add additional patron cardnumber generation strategies to Koha::AutoNumber
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42752 Bug ID: 42752 Summary: Add additional patron cardnumber generation strategies to Koha::AutoNumber Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Bug 22707 introduced Koha::AutoNumber, a generic strategy framework for patron cardnumber (and future item barcode) generation. The framework is designed to be extended by adding new Koha::AutoNumber::* subclasses that override _next_from() and, where needed, db_max(). Three additional strategies have been identified as useful for Koha libraries: 1. Codabar / CLSI The traditional North American library card standard. 14-character format with a Codabar check character. Many libraries still hold physical card stock in this format. Algorithm::CheckDigits supports Codabar, making the implementation straightforward. 2. Prefixed sequential A fixed text prefix followed by a zero-padded sequential counter, e.g. 'LIB0001234' or 'BRANCH001'. Useful for libraries that issue staff cards, student IDs, or branch-coded patron identifiers. Would require one additional system preference for the prefix string. 3. Annual sequential A year prefix followed by a sequential counter, e.g. '2026001234'. Mirrors C4::Barcodes::annual for item barcodes. Useful for academic libraries that issue cohort-coded patron cards. Each strategy is a self-contained subclass; no schema changes are required. Strategies can be implemented and submitted independently. See also: Bug 22707 -- 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=42752 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |22707 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22707 [Bug 22707] Allow manual definition of AutoMemberNum range -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org