$label =
$facet->
getLabel();
} else { $label =
$this->snippetManager
->
getNamespace('frontend/listing/facet_labels'
) ->
get('vote_average', 'Ranking'
);
} $fieldName =
$this->queryAliasMapper->
getShortAlias('rating'
) ?? 'rating';
return new RadioFacetResult( 'vote_average',
$criteria->
hasCondition('vote_average'
),
$label,
$values,
$fieldName,
[],
'frontend/listing/filter/facet-rating.tpl'
);
} /**
* @param array<string, mixed> $data
*
* @return array<ValueListItem>
*/