Item9266: TableSortDecimalPoint
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
In our installation (old TWiki updated to Foswiki 1.0.6 and 1.0.9), sorting does nor recognize any decimal points, but sorts only the integer part. Thus, in the example
name |
value |
value2 |
abc |
1.3 |
1,3 |
cde |
12 |
12 |
efg |
2.5 |
2,5 |
fgh |
0 |
0 |
fhi |
9 |
9 |
hij |
2 |
2 |
the sort order is always 0, 1.3, 2.5, 2, 9, 12, no matter whether the column using decimal points or decimal commas is sorted. Of course, we would like "2" to appear before "2.5".
The problem does not appear on
http://foswiki.org/Sandbox/TestTableSort; here, sorting the second column (with decimal points) produces the desired output. Thus, this appears as a configuration problem.
Any help is appreciated.
--
NilsBluemer - 06 Jul 2010
This does not happen anymore in current release of the plugin.
--
ArthurClemens - 05 Mar 2011