Change By: Tobias Mattsson (29/May/13 12:43 PM)
Description: Should support also showing sub types. Either always or it should be configurable.

This check in HierarchicalJcrContainer needs to be changed:

{code}
            ArrayList<Node> nodesWithMatchingTypes = new ArrayList<Node>();
            NodeIterator iterator = node.getNodes();
            final List<NodeTypeDefinition> nodeTypes = getWorkbenchDefinition().getNodeTypes();
            String currentNodeTypeName;
            while (iterator.hasNext()) {
                Node next = iterator.nextNode();
                currentNodeTypeName = next.getPrimaryNodeType().getName();
                for (NodeTypeDefinition current : nodeTypes) {
                    if (current.getName().equals(currentNodeTypeName)) {
                        nodesWithMatchingTypes.add(next);
                        break;
                    }
                }
            }

{code}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to