Skip to content

ContentTranslatedName Sort Clause

The ContentTranslatedName Sort Clause sorts search results by the content items' translated names.

Arguments

  • (optional) sortDirection - Query or LocationQuery constant, either Query::SORT_ASC or Query::SORT_DESC

Limitations

The ContentTranslatedName Sort Clause is not available in Repository filtering.

Example

1
2
$query = new LocationQuery();
$query->sortClauses = [new SortClause\ContentTranslatedName()];