https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37675 --- Comment #20 from Jonathan Druart <jonathan.druart@gmail.com> --- 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.