From 9e91c3f8c2e2865e8ebbe692308ae574005939ee Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 13 Aug 2013 10:03:10 -0400 Subject: [PATCH] don't use cache sort values Signed-off-by: Bill Erickson --- Open-ILS/xul/staff_client/chrome/content/util/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js index 1ddfb0f0a3..d32e557e80 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -1781,10 +1781,12 @@ util.list.prototype = { } rows = rows.sort( function(A,B) { function normalize(a,b,p) { + /* if (a.sort_value) { a = a.sort_value; b = b.sort_value; } else { + */ a = a.value; b = b.value; if (obj.columns[p].sort_type) { @@ -1816,7 +1818,7 @@ util.list.prototype = { b = String( b ).toUpperCase(); } } - } + //} return [ a, b ]; } -- 2.11.0