Skip to content

ContentTranslatedName Sort Clause

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

Arguments

  • sortDirection (optional) - 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()];