don't use cache sort values lp1211506-bill-ui-money-sorting
authorBill Erickson <berick@esilibrary.com>
Tue, 13 Aug 2013 14:03:10 +0000 (10:03 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 13 Aug 2013 14:03:10 +0000 (10:03 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/util/list.js

index 1ddfb0f..d32e557 100644 (file)
@@ -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 ];
                             }