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

#members_from_rank_range not working properly for competition leaderboard #64

Open
rrcdr opened this issue Feb 18, 2017 · 1 comment
Open

Comments

@rrcdr
Copy link

rrcdr commented Feb 18, 2017

If I were to do leaderboard.members_from_rank_range(1, 1) I would expect to get all members who are rank 1 in a competition leaderboard. Instead I am just getting the first member in the leaderboard.

I would imagine the intended functionality of the method would be to return all members who are rank 1.

@czarneckid
Copy link
Member

@rrcdr Apologies for getting to this so late. I'm not sure what's the correct thing to do here since for most use cases of this type of leaderboard, you're grabbing page by page from the leaderboard, after which we modify the rankings based on number of members in the leaderboard.

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

2 participants