Skip to content

Commit 3a9ec51

Browse files
committed
Fix bug in filter dropdown headers for rounds view.
1 parent eb8254e commit 3a9ec51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hypha/apply/funds/templates/funds/includes/table_filter_and_search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2 class="section-header">{{ heading }}</h2>
7777
{% if filter.form %}
7878
<nav class="flex flex-wrap gap-2 items-center menu-filters">
7979
{% if not field|is_datefilter %}
80-
<c-dropdown-menu title=field.label heading=field|get_dropdown_heading enable_search=True position="right">
80+
<c-dropdown-menu title=field.label heading="{{ field|get_dropdown_heading }}" enable_search=True position="right">
8181
<ul class="flex overflow-auto flex-col max-h-80 text-gray-700 divide-y" data-filter-list>
8282
{% for value, label in filter.form|get_field_choices:field_name %}
8383
{% get_item_value filter.form field_name as selected_value %}
@@ -103,7 +103,7 @@ <h2 class="section-header">{{ heading }}</h2>
103103
</ul>
104104
</c-dropdown-menu>
105105
{% else %}
106-
<c-dropdown-menu title=field.label heading=field|get_dropdown_heading position="right">
106+
<c-dropdown-menu title=field.label heading="{{ field|get_dropdown_heading }}" position="right">
107107
<calendar-range class="mx-auto cally" onchange="updateURL(this.value, '{{field_name}}')" data-field-name='{{field_name}}'>
108108
{% heroicon_micro "chevron-left" aria_label="Previous" slot="previous" aria_hidden=true size=18 %}
109109
{% heroicon_micro "chevron-right" aria_label="Next" slot="next" aria_hidden=true size=18 %}

0 commit comments

Comments
 (0)