{{ 'menu.context.title' | translate | titlecase }}

@if (sortOption) { {{ 'menu.context.sort.title' | translate | titlecase }} @for (value of sortOption.values; track value; let i = $index) { {{ 'menu.context.sort.' + value.value | translate | titlecase }} @if (sortOption.value === value.value && value.reversible) { @if (sortOption.reversed) { } @if (!sortOption.reversed) { } } } } @if (filterOption) {
{{ 'menu.context.filter.title' | translate | titlecase }} @for (facet of facets; track facet) {
@if (facet.info.onlyOnType) { {{ facet.info.onlyOnType | titlecase }} / } {{ facet.info.field | titlecase }}
@for ( bucket of !facet.compact ? facet.buckets.slice(0, compactFilterOptionCount) : facet.buckets; track bucket ) { ({{ bucket.count }}) {{ facet.field === 'type' ? (getTranslatedPropertyValue($any(bucket.key), 'type') | titlecase) : (facet.onlyOnType && getTranslatedPropertyValue(facet.onlyOnType, facet.field, bucket.key) | titlecase) }} } @if (!facet.compact && facet.buckets.length > compactFilterOptionCount) { {{ 'menu.context.filter.showAll' | translate }} }
}
}