fix: Show Clear filters when attribute filters are set
This commit is contained in:
parent
f472a49cf6
commit
b2ab1031e3
@ -42,7 +42,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-12 order-1 col-md-4 order-md-2">
|
<div class="col-12 order-1 col-md-4 order-md-2">
|
||||||
|
|
||||||
{% if frappe.form_dict.start or frappe.form_dict.field_filters or frappe.form_dict.search %}
|
{% if frappe.form_dict.start or frappe.form_dict.field_filters or frappe.form_dict.attribute_filters or frappe.form_dict.search %}
|
||||||
<a class="mb-3 d-inline-block" href="/all-products">{{ _('Clear filters') }}</a>
|
<a class="mb-3 d-inline-block" href="/all-products">{{ _('Clear filters') }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user