I have a couple repeating groups and want to show data including filters. I first tried squeezing everything into one query but this is just not maintainable this way. So I created other RGs to store data sources as “variables” and to be able to reuse those.
Every of those “variables” contains ~3 normal conditions and ~3 advanced conditions and then I put them together when needed.
It already feels like Bubble is at its limits with not even a handfull of filters. Am I doing something wrong or should I switch to a better DB and backend solution?
What kind of query are you trying to execute? Generally, you can do it with one expression, or with an expression that references group variables that are sometimes set to empty.
For more complicated data having lots of hidden repeating groups is sometimes inevitable. Keep in mind that while filters can help you show the right data, you are still sending all data to the browser. It becomes even more important to ensure the base dataset in the RG’s are kept to the absolute minimum needed.
The normal approach and best approach, especially for maintainability is to put all filters onto one search…make sure to check ignore empty
Thanks for your answers.
In my main RG I have Search for: filter: merged with etc… but having 15+ of those in one expression makes it unmaintainable. So I added another layer.
Maybe it is just a case of grass being greener on the other side but it seems like even a text file + shittiest IDE in the world would do a better job than bubbles expression editor in this case.