Author: mattmill30
Description:
When sorting a column which contains currency values:
Cells with both 'currency criterion' incompatible values and data-sort-value specified with a 'currency criterion' compatible symbol are not included in the comparative ordering of 'currency criterion' compatible values.
E.g.
{| class="wikitable sortable"
+ Comparison of keyboards, segmented by purpose |
- |
! Manufacturer class="unsortable" | Model data-sort-type="currency" | Price
- |
! class="collapsible collapsed" colspan=12 | Wireless
- | |||||
Amkette | Wi-Key Touch | data-sort-value="$42" | INR₹2495 ($42) | ||
- | |||||
Rapoo | E2700 | £39.99 ($68) | |||
- | |||||
iball | Mystic BT06 | data-sort-value="$33" | INR₹1,999 ($33) | ||
- | |||||
} | |||||
What happens when Price column is sorted:
{| class="wikitable sortable"
+ Comparison of keyboards, segmented by purpose |
- |
! Manufacturer class="unsortable" | Model data-sort-type="currency" | Price
- |
! class="collapsible collapsed" colspan=12 | Wireless
- | |||||
iball | Mystic BT06 | data-sort-value="$33" | INR₹1,999 ($33) | ||
- | |||||
Rapoo | E2700 | £39.99 ($68) | |||
- | |||||
Amkette | Wi-Key Touch | data-sort-value="$42" | INR₹2495 ($42) | ||
- | |||||
} | |||||
What should happen:
Keyboards
{| class="wikitable sortable"
+ Comparison of keyboards, segmented by purpose |
- |
! Manufacturer class="unsortable" | Model data-sort-type="currency" | Price
- |
! class="collapsible collapsed" colspan=12 | Wireless
- | |||||
iball | Mystic BT06 | data-sort-value="$33" | INR₹1,999 ($33) | ||
- | |||||
Amkette | Wi-Key Touch | data-sort-value="$42" | INR₹2495 ($42) | ||
- | |||||
Rapoo | E2700 | £39.99 ($68) | |||
- | |||||
} | |||||
Version: 1.24rc
Severity: enhancement