$fieldName =
$this->queryAliasMapper->
getShortAlias('sSupplier'
) ?? 'sSupplier';
$facet =
$criteria->
getFacet('manufacturer'
);
if ($facet instanceof ManufacturerFacet && !
empty($facet->
getLabel())) { $label =
$facet->
getLabel();
} else { $label =
$this->snippetManager->
getNamespace('frontend/listing/facet_labels'
) ->
get('manufacturer', 'Manufacturer'
);
} return new ValueListFacetResult( 'manufacturer',
$criteria->
hasCondition('manufacturer'
),
$label,
$items,
$fieldName );
}}