Skip to content

Commit

Permalink
Merge pull request #2431 from DemocracyClub/fix-has-resultset-filter
Browse files Browse the repository at this point in the history
Use corret method for filtering complete resultset
  • Loading branch information
symroe authored Aug 6, 2024
2 parents 9105fa4 + 72cb833 commit e340cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ynr/apps/elections/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def has_result_set_filter(self, queryset, name, value):
Filter queryset by if they have a result set or not
"""
mapping = {
1: "has_result_set",
1: "complete_result_set",
0: "no_result_set",
2: "incomplete_result_set",
}
Expand Down

0 comments on commit e340cb9

Please sign in to comment.