Skip to content

Incorrect behavior of members_from_rank_range for CompetitionRankingLeaderboard #54

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

Open
clevercricket opened this issue Apr 1, 2018 · 0 comments

Comments

@clevercricket
Copy link

If a leaderboard has multiple rows for the same rank, then the members_from_rank_range does not return correct value. e.g.

'Person 1' with 120 points is ranked 1
'Person 2' with 120 points is ranked 1
'Person 3' with 112 points is ranked 3

Then
a) invoking members_from_rank_range(1, 1) - returns only 1 item ( expecting 2 )
b) invoking members_from_rank_range(2, 2) - returns 1 item ( expecting none )

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