http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8260

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8260
                CC: [email protected]
          Assignee: [email protected]
           Summary: Routing List Ranking Needs Re-order After Patron
                    Delete
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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