Skip to content

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

Make 'Clear filter' link nicer

michal1f59a0e0010c
diff --git a/templates/category/index.html b/templates/category/index.html
index 23be9701c4..6b367ea2f9 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -114,7 +114,7 @@
<h2>
{% trans 'Filters' context 'Filter heading title' %}
{% if filter.is_bound_unsorted %}
- <a href="?">
+ <a href=".">
<span class="clear-filters float-right">{% trans 'Clear filters' context 'Category page filters' %}</span>
</a>
{% endif %}
diff --git a/templates/dashboard/includes/_filters.html b/templates/dashboard/includes/_filters.html
index 7d8e60f6ed..b5503646b6 100644
--- a/templates/dashboard/includes/_filters.html
+++ b/templates/dashboard/includes/_filters.html
@@ -40,7 +40,7 @@
<div class="right-align">
<div class="col s12">
{% if filter.is_bound_unsorted %}
- <a href="?" class="clear-filters btn btn-flat">
+ <a href="." class="clear-filters btn btn-flat">
{% trans 'Clear' context 'Category page filters' %}
</a>
{% endif %}