http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8260 Priority: P5 - low Change sponsored?: --- Bug ID: 8260 CC: colin.campbell@ptfs-europe.com Assignee: koha-bugs@lists.koha-community.org Summary: Routing List Ranking Needs Re-order After Patron Delete Severity: minor Classification: Unclassified OS: All Reporter: dcook@prosentient.com.au Hardware: All Status: NEW Version: master Component: Serials Product: Koha 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 the assignee for the bug. You are watching all bug changes.