Skip to content
Snippets Groups Projects
Commit 10d9d1e0 authored by Bastien Abadie's avatar Bastien Abadie Committed by Yoann Schneider
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 9fda09a2
No related branches found
No related tags found
1 merge request!324Expose transcription metadata and worker run query params on ListElementChildren
Pipeline #80223 passed
......@@ -416,7 +416,7 @@ class ElementMixin(object):
)
if worker_run is not None:
# If worker_run=False, filter by manual worker_run e.g. None
worker_run_id = worker_run if worker_run else None
worker_run_id = worker_run or None
query = query.where(CachedElement.worker_run_id == worker_run_id)
return query
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment