[x] Add a filtering section on the form results template for filtering results by race types. Inside the filtering section create the following components:
[x] A multiple select dropdown list of tally race types .
[x] An Apply button with some guidance text that says Filter results by race.
[x] Create an onclick event listener for the Apply button similar to this that will be used to send an Ajax request to this django view for filtering the results by the selected race type. Ignore the else block in this implementation.
[x] Update the Django view filter_queryset method that filters results, to also filter results by race type when available. The filtering logic, should be applied on this results_queryset function inside this if block.
Task check list
Apply
button with some guidance text that saysFilter results by race
.Apply
button similar to this that will be used to send an Ajax request to this django view for filtering the results by the selected race type. Ignore the else block in this implementation.Related to
https://github.com/onaio/tally-ho/issues/357