Last modified: 2010-07-04 17:19:32 UTC
A table of type wikitable sortable that contains negative numbers is not sorted correctly when descending sorting is requested. Ascending sorting works as expected. The result looks like descending search does not recognise negative numbers as numbers, but I don't get how this is possible since ts_resortTable() in wikiprefs.js decides sorting direction after the object type is recognised. Example: 1,-1, 0, -4, 3, -11, -7, 7, -5, 11 is sorted as 7, 3, 11, 1, 0, -7, -5, -4, -11, -1
Created attachment 5400 [details] correct descending table sorting for negative numbers
MediaWiki 1.10 is no longer supported. WORKSFORME in 1.14 alpha r42593. See http://meta.wikimedia.org/wiki/Help:Sorting#Examples . I suggest you make a local patch.
Siebrand wrote: > I suggest you make a local patch. I did. Thanks for your help.