Skip to content

Commit 70eef98

Browse files
alegoutAlban L
authored andcommitted
Simplify filters documentations for boolean and numeric filters
1 parent ecf228f commit 70eef98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class Offer
292292
}
293293
```
294294

295-
Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?isAvailableGenericallyInMyCountry=true`.
295+
Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?isAvailableGenericallyInMyCountry=true`.
296296

297297
It will return all offers where `isAvailableGenericallyInMyCountry` equals `true`.
298298

@@ -324,7 +324,7 @@ class Offer
324324
}
325325
```
326326

327-
Given that the collection endpoint is `/offers`, you can filter offers by boolean with the following query: `/offers?sold=1`.
327+
Given that the collection endpoint is `/offers`, you can filter offers with the following query: `/offers?sold=1`.
328328

329329
It will return all offers with `sold` equals `1`.
330330

0 commit comments

Comments
 (0)