Limit search results to cm:content items only

Refs #146
This commit is contained in:
Will Abson
2016-06-09 19:13:47 +01:00
parent b8f129ed82
commit bc5e466faf

View File

@@ -54,7 +54,8 @@ export class AlfrescoService {
let nodeId = '-root-';
let opts = {
include: ['path'],
rootNodeId: nodeId
rootNodeId: nodeId,
nodeType: 'cm:content'
};
return apiInstance.liveSearchNodes(term, opts);
}