LP1211506 fix numeric sorting in staff client grids
authorBill Erickson <berick@esilibrary.com>
Tue, 13 Aug 2013 14:03:10 +0000 (10:03 -0400)
committerBen Shum <bshum@biblio.org>
Wed, 14 Aug 2013 01:58:27 +0000 (21:58 -0400)
commit11a2542c75dc04f5a86e4206b182b927d4f845aa
treeb4790a4c91b4e7fdd503c7f8ec6a005c4be6f4a1
parentbaa8f926f7a4ce0e86aa419ba64cca7b509b8d45
LP1211506 fix numeric sorting in staff client grids

To recover numeric (vs. ascii-betical) sorting of number and money
values in grids, cast the cached sort values back into numbers.

This was tested in the billing interface, but should repair numeric
sorting for most grids.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/chrome/content/util/list.js