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