Fix for ALF-10848

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2011-11-03 08:50:56 +00:00
parent e7dc5b4f04
commit 18a4258e34

View File

@@ -578,7 +578,7 @@ public class AuthorityDAOImpl implements AuthorityDAO, NodeServicePolicies.Befor
query.append("@").append(
AbstractLuceneQueryParser.escape("{" + ContentModel.PROP_AUTHORITY_NAME.getNamespaceURI() + "}"
+ ISO9075.encode(ContentModel.PROP_AUTHORITY_NAME.getLocalName()))).append(":\"");
query.append(getName(type, AbstractLuceneQueryParser.escape(displayNamePattern)));
query.append(getName(type, AbstractLuceneQueryParser.escape(displayNamePattern))).append("\"");
}
query.append(" OR @").append(
AbstractLuceneQueryParser.escape("{" + ContentModel.PROP_AUTHORITY_DISPLAY_NAME.getNamespaceURI() + "}"