Hi
We were trying to only return the top groups in the shop to be used in the search bar dropdown selector, but it seems it only returns them when we include subgroups.
Here's a screencast with repro steps: https://www.screencast.com/t/X76HuWSsszsM
It seems it only returns groups with products (and if they are active) even if we choose to select All top groups option from the product catalogue. Can you check if it only works with checks for product count and active products?
For this particular case, wouldn't it be better to only get the top groups, even though there's no products, but still do the search through all the subgroups? Choosing all the subgroups isn't very user-friendly with a long dropdown of options.