http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8260 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Actually, I'm not currently running it for routing-preview.pl, since there are no numbers displayed. (In reply to comment #0)
Currently, deleting a patron will create a missing value in the ranking of members in a routing list. For instance, the ranking will go 1, 2, 3, 5 in the database when the patron ranked at #4 is deleted.
This causes the intranet to display these rankings as 1, 2, 3, 1, since 5 is not a valid option due to there only being 4 entries in the database.
I've written up a little re-order function based on the reorder_members function, which just re-orders all the members for that routing list every time routing.pl or routing-preview.pl are called.
It might be more ideal to only run it if errors are detected, but that error detection would require more code that might just add more bulk.
-- You are receiving this mail because: You are watching all bug changes.