Filtering a boolean fields in group field

Hi Stéphane,

I think there's a misunderstanding of what the filter option is for. It is used to filter document results. Filters check every document and compare a specified property on that document against the provided value. If the document passes the comparison, the API will include the document in its results. So if you have 20 pages, you can return only the documents with the tags "Macaron" and "Cupcake":

[at(document.tags, ["Macaron", "Cupcake"])]

Your document here is a single type, so only one document is ever returned.

You can't use the filter option to filter out fields returned from the API. You'll need to filter on the client side to only show fields with the boolean true on the front end.

Let me know if you need anything else.

Thanks.