Set<String> visibleGroups = new HashSet<String>();
for (String group : groups)
{
- if (group == null || fr.checkGroupVisibility(group, true))
+ // if (group == null || fr.checkGroupVisibility(group, true))
+ if (group == null || checkGroupState(group))
{
visibleGroups.add(group);
}
}
+ foundGroups.addAll(groups);
/*
* get distinct feature types for visible groups