Commit 187ad4af authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-s/more_efficient_job_status' into 'dev'

sample_set/index.html less queries for job status

See merge request !362
parents 791ab12c 438c40cd
Pipeline #199479 failed with stages
in 27 minutes and 33 seconds
......@@ -74,10 +74,11 @@
<tbody>
{{for row in query :}}
{{if row.results_file.scheduler_task_id is None or db.scheduler_task[row.results_file.scheduler_task_id ] is None:}}
{{task = db.scheduler_task[row.results_file.scheduler_task_id ]}}
{{if row.results_file.scheduler_task_id is None or task is None:}}
{{status = '' }}
{{else:}}
{{status = db.scheduler_task[row.results_file.scheduler_task_id ].status }}
{{status = task.status }}
{{pass}}
<tr>
......
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