This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
DatePublished Sort Clause¶
The DatePublished
Sort Clause
sorts search results by the date and time of the first publication of a Content item.
Arguments¶
sortDirection
(optional) - Query or LocationQuery constant, eitherQuery::SORT_ASC
orQuery::SORT_DESC
.
Example¶
1 2 |
|