- I want to base some of my `html` parameter logic on selected values in a filter.
- My original thought was using the following
{% if _filters[‘field_name.view_name'] | split: "," | size > 1 %}
‘Do something’
{% else %}
‘Do another thing’
{% endif %}
- However, some of my items in the filter have commas, resulting in 1 extra array item (and count) for each item with a comma.
Any folks have any thoughts?