Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -616,7 +616,7 @@ |
617 | 617 | // pound dollar euro yen currency cents |
618 | 618 | if (itm.match(/(^[\u00a3$\u20ac\u00a4\u00a5]|\u00a2$)/)) |
619 | 619 | sortfn = ts_sort_currency; |
620 | | - if (itm.match(/^[\d.,]+\%?$/)) |
| 620 | + if (itm.match(/^[\d.,eE+-]+\%?$/)) |
621 | 621 | sortfn = ts_sort_numeric; |
622 | 622 | |
623 | 623 | var reverse = (span.getAttribute("sortdir") == 'down'); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -116,6 +116,7 @@ |
117 | 117 | treated as regular expression fragments to match for when possibly |
118 | 118 | displaying an external image inline. |
119 | 119 | * (bugs 15405, 15436) Sort more currency types correctly in sortable tables |
| 120 | +* (bug 15422) Sort more different types of numbers in sortable tables |
120 | 121 | |
121 | 122 | === Bug fixes in 1.14 === |
122 | 123 | |