MWFIAE avatar

Steemnova -Fixed sorting by score in memberlist

mwfiae

Published: 23 Feb 2018 › Updated: 23 Feb 2018Steemnova -Fixed sorting by score in memberlist

Steemnova -Fixed sorting by score in memberlist

Bug Fixes

What was the issue?

In the alliance memberlist one can sort by score. But the thousand separator was interpreted as decimal separator by the sorting plugin (jQuery TableSorter).
That means a score of 1042 (1.042) was sorted in between 1 and 2.

Recording

image.png

with the permission from louis88@louis88

What was the solution?

I had to add a new parser for the sorting library, so I could remove the point while sorting by score. For example "1.042" is now transformed to "1042" and then correctly interpreted as the number 1042.

image.png

Links

Github PullRequest

Github Issue

Bugpost Utopian



Posted on Utopian.io - Rewarding Open Source Contributors

Leave Steemnova -Fixed sorting by score in memberlist to:

Written by

German Developer | CIO@fivefingergames | Martin wuschelt flauschige Igel aus England

Read more #utopian-io posts


Best Posts From MWFIAE

We have not curated any of mwfiae's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From MWFIAE