Skip to content

Commit fcae254

Browse files
authored
Fix the updated at filter not auto submitting on submission list page (#4473)
Fixes #4469
1 parent b747fec commit fcae254

File tree

1 file changed

+1
-1
lines changed
  • hypha/apply/funds/templates/submissions

1 file changed

+1
-1
lines changed

hypha/apply/funds/templates/submissions/all.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ <h2 class='text-2xl'>{% trans "No results matched your search" %}</h2>
623623

624624
$('#filterupdated').on('apply.daterangepicker', function(ev, picker) {
625625
$('#search-navbar').val(`updated:>=${picker.startDate.format('YYYY-MM-DD')} updated:<=${picker.endDate.format('YYYY-MM-DD')}`);
626-
htmx.trigger('#search-navbar', 'search');
626+
$('#search-navbar').closest('form').trigger('submit');
627627
});
628628
});
629629
</script>

0 commit comments

Comments
 (0)