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

Allow sorting of the pull requests based on different parameters #4

Open
karanjthakkar opened this issue Feb 19, 2017 · 0 comments
Open

Comments

@karanjthakkar
Copy link
Owner

karanjthakkar commented Feb 19, 2017

  1. Send query param to backend for how to sort. eg: ?sort_by=more_stars
  2. Consume this query param in the /user/:username route handler (sort_by can be one of more_stars, less_stars, more_forks, less_forks, more_prs, less_prs)
  3. Sort the data based on this.
  4. Return the data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant