https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37675

--- Comment #20 from Jonathan Druart <[email protected]> ---
Created attachment 170764
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170764&action=edit
Bug 37675: Make random generates the same numbers less probable

This is really not the ideal patch but definitely the easiest to write
and with (hopefully) the least side-effects possible.

Ideally we would like to rethink how this "id" is generated and start
from ... 1

To improve this patch we could follow-up and store the list of the
generate numbers, then generate a new one if it exists already.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to