https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37675 --- Comment #29 from David Cook <dcook@prosentient.com.au> --- Created attachment 170795 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170795&action=edit Bug 37675: Ensure unique random number server-side This change ensures that a unique number is used for the random numbers used in the MARC basic editor. Note that there is a chance for a near infinite loop for records with a large number of records. This could be improved by dynamically increasing the random number max and throwing a fatal error if too much time is spent generating numbers. Or we could calculate how many numbers we need ahead of time, and use those. Note that the Javascript used for creating random numbers does not have knowledge of the already used set of numbers currently. This should be improved as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.