Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change filter to filter_set variable

Anna Siwik55cd2a5fc1d7
diff --git a/templates/category/index.html b/templates/category/index.html
index 61cac38e33..9c58f1685a 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -146,7 +146,7 @@
<div class="product-filters__attributes" data-icon-up="{% static "images/chevron_up.svg" %}"
data-icon-down="{% static "images/chevron_down.svg" %}">
<form method="get">
- {% for field in filter.form %}
+ {% for field in filter_set.form %}
{% if field.name == 'sort_by' %}
{% comment %}
Field 'sort_by' is hidden because it is rendered in header.