Hi,
I want a pop-up “no results found” to show when my repeating group list doesn’t show any results.
Here is what I did :
- Do when RepeatinGroup Product’s List of Products:count =< 0 (run this every time)
- -> Show popup no results found
Right now it works well if I do my query and load results page 1st time (repeating group having no results).
However if then I do a new query (right after), and repeating group having still no results, the popup won’t show up.
It will only show up if I load my results page 1st time or if I load my results page with repeating group having results firsts, and then load my results page with repeating group having 0 results.
Here is how it looks like:
use case 1
- As a user I search for “Item X”
- Result page is loaded. Repeating group has no results for “Item X”. Popup “no results” appears.
Okay great! - As a user I then search for “Item X”
- Result page is loaded. Repeating group has no results for “Item X”. Popup “no results” doesn’t appear.
What is the problem?
use case 2
- As a user I search for “Item X”
- Result page is loaded. Repeating group has no results for “Item X”. Popup “no results” appears.
- As a user I then search for “Item Y”
- Result page is loaded. Repeating group has results for “Item Y” (so obviously popup “no results” doesn’t appear).
- As a user I then search for “Item X”
- Result page is loaded. Repeating group has no results for “Item X”. Popup “no results” appears.
So the no-pop up showing up happens only if i consecutively load result pages with no results.
If anyone can help on this! Thanks