My gridview can't sort childs by ENUM ?

Hello,

Here is my Firebase datas structure: On my app users create Menus. Menus have Items. Items have a data field named "Category" as an ENUM (starters, main courses, desserts). Items have Ingredients which are a collection.

On Navigation users can click "Desserts" to see their desserts. They arrive to a page which normally contains a beautiful gridView with their Desserts.

Now when setting my gridview, I've set a Data Query. My Data Query is Collection>Items>List of documents. When I let it, I can see all Items whatever info on child containers -> Beautiful ;).

BUT I want to see only Desserts. So I go, set a Filter, firsts it seems to work cause I can set Category equals to -> Dessert. Then I go to the container, set texts whatever info like Name and Price.

And I get: "No Items Found" This list is currently empty. Which is obviously not true, I double checked my datas, Category is set for every field. I don't even get the container design, nothing.

So I came to the conclusion gridviews can't sort by ENUM, but it seems pretty weird to me.

I've checked that I have multiple desserts to display, I've set "orders by", unset it, tried every possible combination, nothing works. Can't find any video for my case, so I'm here.

Thankfully.

1
1 reply