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

Filter users #57

Open
tsarchghs opened this issue Jul 1, 2018 · 4 comments
Open

Filter users #57

tsarchghs opened this issue Jul 1, 2018 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@tsarchghs
Copy link
Collaborator

Add feature to filter users by newest-oldest oldest-newest best-rated/low-rated most-followers/least-followers.

@tsarchghs tsarchghs added enhancement New feature or request good first issue Good for newcomers labels Jul 1, 2018
@metshehu
Copy link

metshehu commented Jul 7, 2018

we can use bubble sort
it takse like 60 -100 lines of code

@tsarchghs
Copy link
Collaborator Author

@metshehu I'd preffer using django's order_by
From newest to latest: User.objects.all().order_by("-date_joined")
References: Django's User model, order_by

@tsarchghs tsarchghs added this to the Next release milestone Aug 13, 2018
@rshrc rshrc changed the title Filter users Filter users #hacktoberfest Sep 29, 2018
@rshrc rshrc changed the title Filter users #hacktoberfest Filter users Sep 29, 2018
@rshrc rshrc added the hacktoberfest Hacktoberfest Manipal University label Sep 29, 2018
@shorrock
Copy link

Is the task here to simply change the default sort order of users on https://thensp.pythonanywhere.com/account/people/ to be from newest to oldest?

@tsarchghs
Copy link
Collaborator Author

@shorrock Giving users the option to be able to filter users based on the number of followers/rating/joined date

@rshrc rshrc removed the hacktoberfest Hacktoberfest Manipal University label Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants