diff --git a/core/filters.md b/core/filters.md index b093a1e012a..8e290ddadb9 100644 --- a/core/filters.md +++ b/core/filters.md @@ -292,7 +292,7 @@ class Offer } ``` -Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?isAvailableGenericallyInMyCountry=true`. +Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?isAvailableGenericallyInMyCountry=true`. It will return all offers where `isAvailableGenericallyInMyCountry` equals `true`. @@ -324,7 +324,7 @@ class Offer } ``` -Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?sold=1`. +Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?sold=1`. It will return all offers with `sold` equals `1`.