Commit 52bfdd01 authored by okhin's avatar okhin
Browse files

Oopsie …

parent 04b90922
......@@ -24,7 +24,7 @@ class ActiveMandateQueryFilterBackend(BaseFilterBackend):
if self.query_param in request.GET:
if len(request.GET[self.query_param]):
# We want to check for params in a list of mandates
mandates = request.GET[self.query_params].split(',')
mandates = request.GET[self.query_param].split(',')
qs = qs.filter(mandates__in=Mandate.objects.filter(
Q( |
Supports Markdown
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