From 70eef984fcd6d3998107555607a3de2b38826265 Mon Sep 17 00:00:00 2001 From: Alban Date: Sat, 5 Jan 2019 22:12:06 +0100 Subject: [PATCH] Simplify filters documentations for boolean and numeric filters --- core/filters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`.