NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11383 for general documentation changes for release 1.1.5. Use
Item9693 for docu changes for release 2.0.
Item9266: TableSortDecimalPoint
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Low |
No Action Required |
Extension |
TablePlugin |
|
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