Modules

advancedsorting

2min

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

Defined in

Updated 25 Mar 2024
Did this page help you?