From: Bill Erickson Date: Tue, 13 Aug 2013 14:03:10 +0000 (-0400) Subject: don't use cache sort values X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9e91c3f8c2e2865e8ebbe692308ae574005939ee;p=evergreen%2Fequinox.git don't use cache sort values Signed-off-by: Bill Erickson --- 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 ]; }