Skip to content

Commit fd859db

Browse files
authored
fix: disappearing filters on changelist (#999) (#1042)
1 parent 8299c1a commit fd859db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/unfold/templates/admin/search_form.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
</button>
1212
</div>
1313

14-
{% for pair in cl.params.items %}
15-
{% if pair.0 != search_var %}<input type="hidden" name="{{ pair.0 }}" value="{{ pair.1 }}">{% endif %}
14+
{% for pair in cl.filter_params.items %}
15+
{% for val in pair.1 %}
16+
{% if pair.0 != search_var %}<input type="hidden" name="{{ pair.0 }}" value="{{ val }}">{% endif %}
17+
{% endfor %}
1618
{% endfor %}
1719
</form>
1820
</div>

0 commit comments

Comments
 (0)