# SearchResultSortOrder
The component SearchResultSortOrder
switches the sort order.
# Properties
HTMLElement
BaseComponent
Element tag:
cm4ap-search-result-sort-order
# Parameter
# Parameters in the Layout
Name | Type | Description |
---|---|---|
hideByEmptyResult | boolean default: false | Defines whether the component should be hidden if the search contains no results. |
searchActor | SearchActor | The actor is required to get and set the sort order. |
viewStackToggleActor | LabeledToggleActor | The actor is required to get the current state name to determine if the component needs to be hidden. |
hideForViews | array of string | The state names for which the component must be hidden. |
In addition, the options "stateIcons" and "stateInfos" are pre-filled.