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

Get Crimes with Parameters #4

Open
boonrs opened this issue Aug 14, 2013 · 2 comments
Open

Get Crimes with Parameters #4

boonrs opened this issue Aug 14, 2013 · 2 comments

Comments

@boonrs
Copy link
Member

boonrs commented Aug 14, 2013

Add an action to the crime controller that takes optional parameters and returns data based on:

  • date range
  • location
  • crime type
  • whatever else you think is relevant
@carterbancroft
Copy link
Member

Any thoughts on how a date range should look in the URL params? Perhaps just have start_date and end_date url params and if one is nil it's everything after/before, respectively?

@ghost ghost assigned carterbancroft Sep 12, 2013
@boonrs
Copy link
Member Author

boonrs commented Sep 17, 2013

I like the idea of two params: start_date and end_date, including your idea for default behavior (start_date nil, then everything before the end_date etc).

@carterbancroft carterbancroft removed their assignment Aug 29, 2018
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