If you haven't specified includeObjs
in your facet
options, an empty array is returned. The resulting Obj
s are ordered by relevance.
Returns
Array<Obj>
The CMS objects that were included in this search.
facets = Scrivito.getClass("BlogPost").where('tags', 'contains', 'design').facet('tags', { includeObjs: 5 });
firstObj = facets[0].includedObjs()[0];
firstObj.get("title");
If you haven't specified includeObjs
in your facet
options, an empty array is returned. The resulting Obj
s are ordered by relevance.
Returns
Array<Obj>