Search results can be grouped using the :grouped by method. I can then extract the name of the groupings as well an aggregation like the count of items in each group.
Is it also possible to retrieve the list of items in each group? How is it done?
In my case I am grouping tasks by due date and want a seperate list for each group.
This might be an easy question, but I’m new to bubble and can’t find the answer.
Hi Boston,
thanks for the hint. The tutorials were my start into bubble. They were very helpful to get an overview of how bubble works and got me going. I already build some draft sites for my projects, when I ran into a dead end with this function.
I wonder, if what I want to do is possible this way or if I have to think about a completely different solution.
Can a search using the :grouped by function deliver the lists of the items for each group or does it only give me the groups (in my case dates) and the aggregates (e.g. number of elements per category)?
I’ve gotta say, I don’t really understand the :grouped function. It seems to resolve Things down to their field-component parts. As such, it’s not useful in a general data processing context… unless I’m missing something. (And, I’m probably not missing something. It’s very specific to Bubble-native components.) This is a long way of saying that the :grouped function does not seem to preserve the correlation to the original Things being grouped and I don’t think the OP can get what they desire from it.
So for this you search for the tasks and set a constraint of the due date…for each date you want you create a separate group and use the correlated due date as the constraint in the search; or you could use the :filtered by function but the constraint on search would work the same way basically.
You could get creative and use some functions for date ranges and and dynamically set your constraints, but first try with the basics.