mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1154 Bring back the fix after revert
This commit is contained in:
@@ -188,7 +188,12 @@ public class QueriesImpl implements Queries, InitializingBean
|
|||||||
NodeRef nodeRef = nodes.validateOrLookupNode(rootNodeId, null);
|
NodeRef nodeRef = nodes.validateOrLookupNode(rootNodeId, null);
|
||||||
query.append("PATH:\"").append(getQNamePath(nodeRef.getId())).append("//*\" AND (");
|
query.append("PATH:\"").append(getQNamePath(nodeRef.getId())).append("//*\" AND (");
|
||||||
}
|
}
|
||||||
query.append(term);
|
if (term != null)
|
||||||
|
{
|
||||||
|
query.append("\"");
|
||||||
|
query.append(term);
|
||||||
|
query.append("\"");
|
||||||
|
}
|
||||||
if (rootNodeId != null)
|
if (rootNodeId != null)
|
||||||
{
|
{
|
||||||
query.append(")");
|
query.append(")");
|
||||||
|
Reference in New Issue
Block a user