[#62,facets,backend][xs]: limit facet on memory backend to 10 by default.
This commit is contained in:
@@ -168,6 +168,7 @@ this.recline.Backend = this.recline.Backend || {};
|
|||||||
// want descending order
|
// want descending order
|
||||||
return -item.count;
|
return -item.count;
|
||||||
});
|
});
|
||||||
|
tmp.terms = tmp.terms.slice(0, 10);
|
||||||
});
|
});
|
||||||
return facetResults;
|
return facetResults;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user