
Hi Jim, On Tue, Apr 29, 2003 at 09:12:24AM +0100, Jim Wight wrote:
I agree! But I find that even "100005" is too long. "1005" (two characters shorter) would be better. I wish I knew how to make a new module, but I'm not a programmer in any way.
Ok ok, I created on: ftp://ftp.otrs.org/pub/otrs/misc/AutoIncrementShort.pm
Format: <SystemID><Counter> (<Counter> is var/log/TicketCounter.log, rest it!)
-=> So you can have 101 or 102 ...
Wouldn't it be better to generalise AutoIncrement, so that the installer can choose the counter size, rather than introduce separate versions for different sizes?
Jepp. .-) I added a config option for Kernel::System::Ticket::Number::AutoIncrement to the config file (TicketNumberGenerator::AutoIncrement::MinCounterSize). -=> Default is 5 (to be compatible).
Jim
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier