diff --git a/framework/src/main/groovy/org/moqui/impl/screen/ScreenFacadeImpl.groovy b/framework/src/main/groovy/org/moqui/impl/screen/ScreenFacadeImpl.groovy index f76be9b32..2a6f3dea7 100644 --- a/framework/src/main/groovy/org/moqui/impl/screen/ScreenFacadeImpl.groovy +++ b/framework/src/main/groovy/org/moqui/impl/screen/ScreenFacadeImpl.groovy @@ -318,6 +318,7 @@ public class ScreenFacadeImpl implements ScreenFacade { throw new BaseException("Could not find root screen for host: ${host}") } + /** Called from ArtifactStats screen */ List getScreenInfoList(String rootLocation, int levels) { ScreenInfo rootInfo = new ScreenInfo(getScreenDefinition(rootLocation), null, null, 0) List infoList = [] @@ -361,7 +362,8 @@ public class ScreenFacadeImpl implements ScreenFacade { sections = sd.sectionByName.size() transitions = sd.transitionByName.size() for (TransitionItem ti in sd.transitionByName.values()) if (ti.hasActionsOrSingleService()) transitionsWithActions++ - isNonPlaceholder = forms || sections || transitions + isNonPlaceholder = forms > 0 || sections > 0 || transitions > 3 + // if (isNonPlaceholder) logger.info("Screen ${name} forms ${forms} sections ${sections} transitions ${transitions}") // trickle up totals ScreenInfo curParent = parentInfo