Last modified: 2014-06-16 15:18:22 UTC
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) |- |}
Workaround: Put first what's currently in the brackets.
To maintain the difference between backend functionality and UX, use of data-sort-value on each cell of the column with a standardized currency is a workaround.
I don't see why it would do that. 'garbage in, garbage out' principle of keeping data applies here in my opinion. If you leave the program guessing, it is undoubtedly going to guess wrong in certain cases. Using data-sort-value consistently is what I think is the appropriate approach here.
Yeah, I agree.
Sounds like WONTFIX to me.