Bug 22707 - Allow manual definition of AutoMemberNum range
Summary: Allow manual definition of AutoMemberNum range
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-15 14:31 UTC by Andrew Fuerste-Henry
Modified: 2022-03-10 13:54 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2019-04-15 14:31:25 UTC
It'd be great to have a way to tell Koha where to start when assigning card numbers via AutoMemberNum and to see what the next number will be. 

Bug 19263 introduced a feature that uses an authorized value to set up ranges of auto-incremented control numbers in bib records. Could something similar be used for card numbers?

Ideally, this could also allow the definition of separate card number ranges for different branches.
Comment 1 Andrew Fuerste-Henry 2020-03-20 12:26:35 UTC
Our current flood of libraries trying to set up online self-reg is highlighting the problems with AutoMemberNum as it exists now. Giving this a bump.
Comment 2 Andrew Fuerste-Henry 2020-04-10 20:02:41 UTC
A couple suggestions from a librarian:
1. Able to specify a card number length, and a starting number (or a range).
2. Able to randomize a bit when incrementing, for example, NewCardNumber = CurrentLargestNumber += RandomNumberBetween(0~10)
Comment 3 Sally 2022-03-10 13:54:23 UTC
Being able to specify a starting number or range would be great.

It would also be useful to have on/off settings for the OPAC and staff client.  

For instance, to only generate a card number when a staff member creates an account via the staff client, but not when someone joins online.

Or the opposite, to only generate a card number when a patron joins online, but not when a member of staff creates an account via the staff client.