Commit 68e60923 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix error after merge.

parent 26b1b913
Pipeline #71916 failed with stages
in 13 minutes and 13 seconds
......@@ -78,7 +78,7 @@ def query_uploads(ctx, uploads):
uploads = proc.Calc.objects(**json_query).distinct(field="upload_id")
else:
request = search.SearchRequest()
request.q = ESQ(json_query)
request.q = es.Q(json_query)
request.quantity('upload_id', size=10000)
uploads = list(request.execute()['quantities']['upload_id']['values'])
except Exception:
......
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