You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm in that case, may I suggest inserting a data-order attribute using the raw number output of the SMW property (#-n) into the <td>element? That should resolve all the quantity sorting issue.
Just an update, datatables handles the unit correctly, but it cannot sort numbers with separators correctly. It seems that the numerical sorting stop at the first separator.
It appears that the datatable doesn't sort date correctly as well. The dates are being sorted alphabetically instead of sorting by recency.
Setup
Issue
Quantity
type properties are sorted alphabetically instead of numerically in datatable, which is unexpected by the users.Steps to reproduce
Quantity
typeExpected result:
The datatable should be sorted by that property numerically.
Observed result:
The datatable is sorted by that property alphabetically.
Example page with the issue: https://starcitizen.tools/Gun
The
Damage
,Range
, andMuzzle velocity
properties have theQuantity
type.The text was updated successfully, but these errors were encountered: