From 9fbe61180969085983fa3e3bebcc2a8212d7499b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 6 Jun 2019 19:18:19 +0000 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt index 317bfc4e05..0652f90343 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt @@ -59,8 +59,9 @@