1. Interfaces

SortValue

Version:
TypeInterface
Import path@sitecore-cloudsdk/search/browser

The sort parameter options of the search widget item. Used to configure the sorting of search results.

Signature

export interface SortValue {
  name: string;
  order?: SortingOptions;
}

Properties

NameTypeDescriptionValue
namestringRequired.The sort type to use for sorting results. Set the value to a sort type defined in Sitecore Search."recommended""newest""name""reviews"
orderSortingOptionsOptional.Whether to sort values in an ascending ("asc") or descending ("desc") order."asc"
If you have suggestions for improving this article, let us know!