Multiple category search added to Advanced Search screen

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-06 14:48:24 +00:00
parent af2c1603cf
commit acd5d24c62
3 changed files with 118 additions and 41 deletions

View File

@@ -295,10 +295,10 @@ public final class SearchContext implements Serializable
query = attributeQuery + " AND (" + query + ')';
}
// match entire query against specified Space path
// match entire query against any specified paths
if (pathQuery != null)
{
query = pathQuery + " AND (" + query + ')';
query = "(" + pathQuery + ") AND (" + query + ')';
}
if (logger.isDebugEnabled())
@@ -308,7 +308,7 @@ public final class SearchContext implements Serializable
}
/**
* Generate a search XPATH pointing to the specified node Id, optionally return an XPATH
* Generate a search XPATH pointing to the specified node, optionally return an XPATH
* that includes the child nodes.
*
* @param id Of the node to generate path too
@@ -364,7 +364,7 @@ public final class SearchContext implements Serializable
}
/**
* @param categories The categories to set.
* @param categories The categories to set as a list of search XPATHs
*/
public void setCategories(String[] categories)
{