1. Interfaces

SearchSortOptions

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

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

Signature

export interface SearchSortOptions {
  choices?: boolean;
  value?: ArrayOfAtLeastOne<SortValue>;
}

Properties

NameTypeDescriptionValue
choicesbooleanOptional.

If set to true, the response will contain a list of available sort choices for this request. You can use this list to allow users to select the type of sort they want to use.
true
valueSortValue[]Optional.

The sort parameter of the search widget item.

Minimum length: 1.
N/A
If you have suggestions for improving this article, let us know!