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@2079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user