Skip to content

Commit 3cbf587

Browse files
authored
Update filter_numeric_slider.html
1 parent 7b046cc commit 3cbf587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin_numeric_filter/templates/admin/filter_numeric_slider.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<h3>{% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}</h3>
1212

13-
{% if choice.min or choice.min == 0 and choice.max or choice.max == 0 and choice.step %}
13+
{% if choice.min is not None and choice.max is not None and choice.step %}
1414
<div class="admin-numeric-filter-slider-tooltips">
1515
<span class="admin-numeric-filter-slider-tooltip-from">{{ choice.value_from }}</span>
1616
<span class="admin-numeric-filter-slider-tooltip-to">{{ choice.value_to }}</span>

0 commit comments

Comments
 (0)