From: Bill Erickson Date: Tue, 28 Jul 2015 14:39:57 +0000 (-0400) Subject: LP#1478997 Items out display sort overdues to top X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44bc436649eefd8c23d90fc5ca6bb1a9f1a79ed7;p=evergreen%2Fpines.git 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 --- 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