[ ] 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.
Useful to query/search/filter:
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.