DatePublished Sort Clause¶
The DatePublished Sort Clause sorts search results by the date and time of the first publication of a content item.
Arguments¶
- (optional) sorting direction, either
ascending(default) ordescending
Example¶
You can use this Sort Clause over the REST API, in the SortClauses element of the payload of the POST /views request:
1 2 3 4 5 | |
1 2 3 4 5 | |