Commit 8f3a2471 authored by borisson_'s avatar borisson_ Committed by borisson_

Issue #2922302 by borisson_: Fix deprecated usage of twig's 'replace' filter

parent 843b6b5c
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* - facet_admin_label: The facet administrative label. * - facet_admin_label: The facet administrative label.
*/ */
#} #}
<span class="source-summary-item source-summary-item-{{ facet_id|replace("_", "-") }}"> <span class="source-summary-item source-summary-item-{{ facet_id | replace({"_": "-"}) }}">
{% if items %} {% if items %}
{{ label }}: {{ items|safe_join(separator) }} {{ label }}: {{ items|safe_join(separator) }}
{% endif %} {% endif %}
......
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