Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Addition of sorting to API results #11

Open
ivanstegic opened this issue Jun 1, 2013 · 2 comments
Open

Addition of sorting to API results #11

ivanstegic opened this issue Jun 1, 2013 · 2 comments

Comments

@ivanstegic
Copy link

Do a search for "gun control" on the API:

https://api.whitehouse.gov/v1/petitions.jsonp?title=gun%20control

Results are returns in date created order. Please consider adding other sorting options? It would be AWESOME to see the results sorted by:

  • signatureCount
  • title

It would probably be incredible to see the data sorted by other parameters, but the most interesting to me is by signatureCount, which really would indicate popularity to me.

@welschp
Copy link
Contributor

welschp commented Jun 7, 2013

Interesting ideas - the team's culling through issues and feedback from the hackathon, we'll see about getting this into the queue.

@ivanstegic
Copy link
Author

Thanks, Peter -- it would really assist in finding popular petitions in the instant search especially.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants