Commit cb6d3c7c authored by okhin's avatar okhin 🚴

Fixing a typo

parent b34ef760
Pipeline #895 passed with stage
in 8 minutes and 16 seconds
...@@ -49,7 +49,7 @@ class ActiveConstituencyFilterBackend(BaseFilterBackend): ...@@ -49,7 +49,7 @@ class ActiveConstituencyFilterBackend(BaseFilterBackend):
qs = queryset qs = queryset
if self.query_param in request.GET: 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(',') mandates = urlunquote(request.GET[self.query_param]).split(',')
qs = qs.filter(mandates__in=Mandate.objects.filter( qs = qs.filter(mandates__in=Mandate.objects.filter(
Q(end_date__gte=datetime.today) | 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