Commit cb6d3c7c authored by okhin's avatar okhin 🚴

Fixing a typo

parent b34ef760
......@@ -49,7 +49,7 @@ class ActiveConstituencyFilterBackend(BaseFilterBackend):
qs = queryset
if self.query_param in request.GET:
if len(request.GET[self.query_params]):
if len(request.GET[self.query_param]):
mandates = urlunquote(request.GET[self.query_param]).split(',')
qs = qs.filter(mandates__in=Mandate.objects.filter(
Q(end_date__gte=datetime.today) |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment