Appearance
SearchResultSortOrder ​
The component SearchResultSortOrder switches the sort order.
Properties ​
HTMLElementBaseComponent
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 default: ["grid", "timeline"] | The state names for which the component must be hidden. |
In addition, the options "stateIcons" and "stateInfos" are pre-filled.

