Feeling silly here, but I simply cannot figure out how to check the count of search results in a conditional statement. Below is a brief summary to an app that is simply querying for ‘offers’ based on a string in a text field.
When the user clicks a button, I’m trying to do the following…
1.) Perform search of offers
2.) if count of search results = 0, then display a text element for ‘no results found’
3.) if count of search results >0 then navigate the user to the offerDetails page.
However, in my conditional checks, I can’t compare the search results’ ‘:count’ to an integer. I’m getting the hang of bubble’s data/app model but i’ve certainly got room to grow; I’ve search google and these forums but am not finding an answer (likely because I’m not asking the right question).
Any help would be appreciated!
Thanks!