1. @sitecore-cloudsdk/search/server

SearchSortOptions

Version:

Type

Interface

Import path

@sitecore-cloudsdk/search/server

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

Name

Type

Description

Value

choices

boolean

Optional.

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

value

SortValue[]

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!