Skip to content

accepting filter always filters by accepting=true #46

@eliotn

Description

@eliotn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions