Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting of Storage seems to be wrong #26

Open
koll051 opened this issue Oct 5, 2023 · 1 comment
Open

Sorting of Storage seems to be wrong #26

koll051 opened this issue Oct 5, 2023 · 1 comment

Comments

@koll051
Copy link

koll051 commented Oct 5, 2023

Sorting by Storage, descending, current behavior:

grafik

Expected behavior:

293,9 gb > 72,3 gb > 50,9 gb > 49,5 gb > 38,3 gb > 33,7 gb etc.

I.e. do not sort lexicographically/alphabetically, but numerically.

Thank you!

┆Issue is synchronized with this Wrike task by Unito

@koll051
Copy link
Author

koll051 commented Oct 6, 2023

Cause seems to be that on my machine with German locale, the storage data from the CSV is imported with comma (",") as a decimal separator, and DataTables cannot properly sort that by default. I fixed that for me by setting the DataTables language.decimal option to ",".

Would be great if there was a way to automatically detect the current locale and set that value automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant