Open eliotn opened 7 years ago
I do the following api calls:
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens&accepting=false
... "meta": { "result_count": 4, "filters": { "county": "Laurens", "accepting": "false" } }
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens&accepting=true
... "meta": { "result_count": 4, "filters": { "county": "Laurens", "accepting": "true" } }
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens
... "meta": { "result_count": 5, "filters": { "county": "Laurens" } }
For the accepting=false and accepting=true, the results are both filtered by accepting=true. The api should filter correctly by whether accepting is true or false.
I do the following api calls:
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens&accepting=false
... "meta": { "result_count": 4, "filters": { "county": "Laurens", "accepting": "false" } }
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens&accepting=true
... "meta": { "result_count": 4, "filters": { "county": "Laurens", "accepting": "true" } }
https://irma-api.herokuapp.com/api/v1/shelters?county=Laurens
... "meta": { "result_count": 5, "filters": { "county": "Laurens" } }
For the accepting=false and accepting=true, the results are both filtered by accepting=true. The api should filter correctly by whether accepting is true or false.