From ffdd4b09c3550d7546c94e3c40ba51e3a718473a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 28 Jul 2015 10:39:57 -0400 Subject: [PATCH] LP#1478997 Items out display sort overdues to top Sort overdue items to the top of the patron items out display in the XUL client, consistent with pre-2.5 behavior. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- Open-ILS/xul/staff_client/server/patron/items.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index 463f15e035..42b9884b99 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -958,8 +958,8 @@ patron.items.prototype = { return; } - obj.checkouts = obj.checkouts.concat(robj.out); obj.checkouts = obj.checkouts.concat(robj.overdue); + obj.checkouts = obj.checkouts.concat(robj.out); // open circs are added to list one or two based on config. // closed circs added to list 2 only if configured, otherwise -- 2.43.2