RM-282 (Search with NOT operator in the beginning performs as without NOT operator)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54175 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2013-08-15 21:01:04 +00:00
parent bb1a863d87
commit fe70fdc55a

View File

@@ -296,9 +296,7 @@ public class RecordsManagementSearchServiceImpl implements RecordsManagementSear
{
fullQuery.append(" AND ");
}
fullQuery.append("(")
.append(query)
.append(") AND NOT ASPECT:\"rma:versionedRecord\"");
fullQuery.append(query).append(" AND NOT ASPECT:\"rma:versionedRecord\"");
return fullQuery.toString();
}