Anytime you use the :filtered operator, all the filter constraints within that are done client side, not server side
As far as my understanding is based on what I’ve been taught by Bubble is that using the :filtered operator, regardless of the type of filter, is happening client side, not server side.
I believe you are referring to the checkbox element from Bubble
Nobody should be using those in my opinion, nor should anybody be using radio buttons. I started using Bubble March 2018, I think that was also the last time I used either of them. In all of my apps, I build my own checkboxes for filters by using a repeating group with the filter options as the datasource, then add into the RG cell an icon (checkbox, or radio whichever the design dictates). As I can remember, the main reason I did this was it was much easier to manage the selections of the user.
You do not actually, but maybe if you are using the checkbox element type, I’m not sure. But, in my apps, the only time I use a conditional data source for the most part on my RG is when I am including a function to allow a user to select from a searchbox element a value (usually user) and then the RG will display only the selected value, so my conditional datasource is the searchbox value…other than that, I rarely require a conditional datasource for the purposes of filtering.
That things needs an overhaul…hopefully the AI Bubble is building will fix it
Yes, true. What I’ve done in the past to overcome that is to set somewhere all the values, so that it would be similar to all filter choices pre-selected, which was overkill and very convoluted. I’ve recently begun using the 'intersect' count is 'selected values count'
which makes it so that when the selected value count is 0 the advanced filter constraint is effectively ignored because it is empty…this is not requiring a conditional, it is in the main advanced filter as part of the dynamic expression for the constraint itself.
Just watched the video, and no offense to Andrew or Gaby who pioneered this approach in 2017, but my stomach turned over when I saw 37 custom workflow triggers. It is not so much the number of 37 that, but the use of custom workflow triggers itself. Custom workflow triggers are not copied and pasted over when you copy and paste with workflows elements…but if you copy and paste a RG with a search that has what I believe is the proper approach to filtering (ie: constraints on the Do a Search with Ignore empty constraints), then that gets pasted over. Plus, how easy is it to get in there and Remove a filter? Seems like from the video that would be a pretty daunting task to find and manage properly, because if you are like me and naming conventions are important, you’d need to rename all of the subsequent custom workflow triggers that follow the single filter you wish to remove, plus the time it takes to find it - of course you don’t need to update anymore than one custom workflow trigger to keep the chain of events occurring, but yikes, what a mess that is.
@artemzheg I understand you are not advocating for it’s use and are playing devils advocate with some of the hypothetical examples you provided, which is much appreciated, because we still have yet to hear from anybody who actually uses it to describe the benefits of daisy chain over just using search constraints.
I just hope this approach is not picked up by too many newbies, as it just seems to get people off to a really bad start in terms of understanding how to interact with data within Bubble.