Commit c5cad717 authored by NesleeCanilPinto's avatar NesleeCanilPinto Committed by Neslee
Browse files

Issue #3166001 by sagesolutions, Neslee Canil Pinto: bef-links template...

Issue #3166001 by sagesolutions, Neslee Canil Pinto: bef-links template bef-link-active state missing
parent 93f85ca8
......@@ -4,13 +4,15 @@
is_nested ? 'bef-nested'
]
%}
{%
set is_nested = true
%}
{% set is_nested = true %}
<div{{ attributes.addClass(classes) }}>
{% set current_nesting_level = 0 %}
{% for child in children %}
{% set item = attribute(element, child) %}
{% if child in selected %}
{% set new_nesting_level = attribute(depth, child) %}
{% set item = item|merge({'#attributes': {'class': 'bef-link-active'}}) %}
{% endif %}
{% set new_nesting_level = attribute(depth, child) %}
{% include '@better_exposed_filters/bef-nested-elements.html.twig' %}
{% set current_nesting_level = new_nesting_level %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment