From f600efb6792988d9a30ce3dee9d9a261a1ddc4e8 Mon Sep 17 00:00:00 2001 From: rdrew Date: Tue, 21 Apr 2026 09:10:56 -0300 Subject: [PATCH] sync --- templates/facets-result-item.html.twig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/facets-result-item.html.twig diff --git a/templates/facets-result-item.html.twig b/templates/facets-result-item.html.twig new file mode 100644 index 0000000..5ab7546 --- /dev/null +++ b/templates/facets-result-item.html.twig @@ -0,0 +1,25 @@ +{# +** + * @file + * Default theme implementation of a facet result item. + * + * Available variables: + * - value: The item value. + * - raw_value: The raw item value. + * - show_count: If this facet provides count. + * - count: The amount of results. + * - is_active: The item is active. + * - facet: The facet for this result item. + * - id: the machine name for the facet. + * - label: The facet label. + * + * @ingroup themeable + */ +#} +{% if is_active %} + +{% endif %} +{{ value }} +{% if show_count %} + ({{ count }}) +{% endif %}