http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10478 --- Comment #8 from M. Tompsett <mtompset@hotmail.com> --- (In reply to M. de Rooy from comment #7)
Looking forward to your code. Could you perhaps extend the generation of this number for the combination range, subrange as describe earlier here?
The table is made up of sequence_name and value pairs. If you want subranges, I suppose you could take the range and subrange together to form a sequence name.
Do you plan to add code under Tools or Administration to show this table?
Card numbers don't need it.
Viewing the values would at least be interesting.
I agree.
But perhaps initializing a new sequence from a certain number,
Done.
or resetting a sequence
I have a reset_everything method, which if modified for every sequence known to mankind as they are added, could potentially be broken out to reset_sequence.
is probably needed too in the long run.. But these functions might need some more thought, because they are pretty dangerous too.
If there's a way to calculate the number to use, resetting to that number isn't so dangerous.
Note also that there is a direct interest in your code for using it in bug 9921 that requires sequence numbers too.
Take a look at my sample test suite and output there. -- You are receiving this mail because: You are watching all bug changes.