mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Multiple category search added to Advanced Search screen
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2080 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -681,14 +681,9 @@ public class AdvancedSearchBean
|
|||||||
NodeRef categoryRef = (NodeRef)selector.getValue();
|
NodeRef categoryRef = (NodeRef)selector.getValue();
|
||||||
if (categoryRef != null)
|
if (categoryRef != null)
|
||||||
{
|
{
|
||||||
//final boolean incChildren = chkChildren.isSelected();
|
|
||||||
Node categoryNode = new MapNode(categoryRef);
|
Node categoryNode = new MapNode(categoryRef);
|
||||||
|
// add a value bound propery used to indicate if searching across children is selected
|
||||||
categoryNode.getProperties().put("includeChildren", chkChildren.isSelected());
|
categoryNode.getProperties().put("includeChildren", chkChildren.isSelected());
|
||||||
/*categoryNode.addPropertyResolver("includeChildren", new NodePropertyResolver() {
|
|
||||||
public Object get(Node node) {
|
|
||||||
return incChildren;
|
|
||||||
};
|
|
||||||
});*/
|
|
||||||
this.categories.add(categoryNode);
|
this.categories.add(categoryNode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user