advancedsorting
2 min
▸ advancedSorting(sorts): KlevuFetchModifer
Set advanced sorting to request. Does not apply if sort is something else than AdvancedSort or undefined.
Parameters
Name | Type | Description |
|---|---|---|
sorts | undefined | { key: string ; order: AdvancedSortingDiretion ; type: "FIELD" }[] | Array of sorts to apply to the query. |
Returns
KlevuFetchModifer