mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11435: Files missed from merge in r32388
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -458,6 +458,8 @@ public class SearchContext implements Serializable
|
|||||||
query = "(" + pathQuery + ") AND (" + query + ')';
|
query = "(" + pathQuery + ") AND (" + query + ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query = query + " AND NOT ASPECT:\"sys:hidden\" ";
|
||||||
|
|
||||||
// check that we have a query worth executing - if we have no attributes, paths or text/name search
|
// check that we have a query worth executing - if we have no attributes, paths or text/name search
|
||||||
// then we'll only have a search against files/type TYPE which does nothing by itself!
|
// then we'll only have a search against files/type TYPE which does nothing by itself!
|
||||||
validQuery = validQuery | (attributeQuery != null) | (pathQuery != null);
|
validQuery = validQuery | (attributeQuery != null) | (pathQuery != null);
|
||||||
|
Reference in New Issue
Block a user