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

Add other useful query params. Like query inspections by totalViolations, etc #53

Open
6 tasks
ccjoel opened this issue Jan 17, 2017 · 0 comments
Open
6 tasks

Comments

@ccjoel
Copy link
Contributor

ccjoel commented Jan 17, 2017

Useful to query/search/filter:

  • All inspections that resulted in totalViolations > threshold
  • Inspections with high, basic, intermediate violations count
  • visitnumber = params.number
  • location address like
  • filter Inspection type
  • Sort by ... ?

also.. theres some business/license data mixed into the inspections results endpoint. we should fix these queries so that data flows more naturally. Ideal use case: "I want to find a business with this license number. ok Ive got the business.. not I want all inspections for it".

Right now inspections have a bunch of data on other models and search is driven by inspections.

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