diff options
-rwxr-xr-x | view_job_queue.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view_job_queue.cgi b/view_job_queue.cgi index b53d4d7c6..6903acff0 100755 --- a/view_job_queue.cgi +++ b/view_job_queue.cgi @@ -45,7 +45,10 @@ sub generate_report { j.run_after AS run_time, j.grabbed_until, f.funcname AS func, - (SELECT COUNT(*) FROM ts_error WHERE e.jobid = j.jobid) AS error_count, + (SELECT COUNT(*) + FROM ts_error + WHERE ts_error.jobid = j.jobid + ) AS error_count, e.error_time AS error_time, e.message AS error_message FROM |