Commit 0808013a authored by Johannes Berg's avatar Johannes Berg Committed by Jeremy Kerr
Browse files

views/xmlrpc: fix xmlrpc delegate filtering

Trying to use
  pwclient list -d ''

doesn't result in any patches listed - it seems that the filter is
constructed wrongly on the xmlrpc server side (going by how the
submitter filter is done.)
Signed-off-by: Johannes Berg's avatarJohannes Berg <>
Signed-off-by: default avatarJeremy Kerr <>
parent 8904a7dc
......@@ -326,6 +326,9 @@ def patch_list(filter={}):
elif parts[0] == 'submitter_id':
dfilter['submitter'] = Person.objects.filter(id =
elif parts[0] == 'delegate_id':
dfilter['delegate'] = Person.objects.filter(id =
elif parts[0] == 'state_id':
dfilter['state'] = State.objects.filter(id =
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