[Koha-bugs] [Bug 8260] Routing List Ranking Needs Re-order After Patron Delete

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 15 16:12:02 CEST 2019


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90393|0                           |1
        is obsolete|                            |

--- Comment #12 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 94215
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94215&action=edit
Bug 8260: user rank order instead of absolute rank to set dropdowns on
routing.pl

When deleting a borrower on a routing list we leave a gap in the numbering. It
appears to only be a problem when viewing
or editing the list in the staff client.

Rather than use the rank in the DB to set the values, we use the implicit order

To test:
 1 - Create a subscription (or find one)
 2 - Add a routing list
 3 - Add five patrons
 4 - Delete the patron who is third in the list
 5 - Edit the routing list
 6 - Note the priority for the last patron is 1
 7 - Apply patch
 8 - Reload the page
 9 - Values look correct
10 - Confirm reordering works as expected

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list