You can’t really control how and when searches are done in Bubble (at least not easily) - Bubble intelligently (or otherwise) manages that for you (and seems to change how they manage that over time).

Just because you’ve used the ‘Do a search for’ expression multiple times on your page does NOT necessary mean the search is being done more than once (although, in some cases it may well be - and conversely, sometimes a single ‘do a search for’ expression will actually result in multiple searches being done).

The only way to know is to check the network tab in dev tools.

So before spending/wasting any time trying to control when searches are being made with complex conditions and custom states, it’s first vital to understand what’s actually happening on the page, by analysing the data requests in the network tab.

Very often, what you think is happening (or should be happening), will turn out not to be the case.

By anyway, only once you’re certain of what data is actually loading, and when, can you attempt to control that by changing your datasources, adding conditions etc.

So I’d start with being sure of what’s actually happening on the page, and take it from there.

1 Like