Visibility Sort Clause¶
Location\Visibility Sort Clause
sorts search results by whether the Location is visible or not.
Locations that are not visible are ranked as higher values (e.g. with ascending order they will be returned last).
sortDirection(optional) - Query or LocationQuery constant, either
$query = new LocationQuery(); $query->sortClauses = [new SortClause\Location\Visibility()];