Skip to content

Mml fix #5208

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

Merged
merged 5 commits into from
Nov 24, 2020
Merged

Mml fix #5208

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ workflows:
filters:
branches:
only:
- develop
- mml-fix
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
Expand Down
3 changes: 2 additions & 1 deletion src/shared/components/MMatchLeaderboard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export default class MMLeaderboard extends Component {
// Use Lodash to sort array
data = _.orderBy(
data,
[d => String(d[sortParam.field]).toLowerCase()], [sortParam.order],
[d => Number(d[sortParam.field]) || String(d[sortParam.field]).toLowerCase()],
[sortParam.order],
);
}

Expand Down