Steemnova -Fixed sorting by score in memberlist

Words
109
Reading
1 min
Listen
Play
9y

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

Steemnova -Fixed sorting by score in memberlist | Ecency