diff --git a/server/controllers/api/jobs.ts b/server/controllers/api/jobs.ts index 13fc04d18..ed6c94533 100644 --- a/server/controllers/api/jobs.ts +++ b/server/controllers/api/jobs.ts @@ -48,7 +48,7 @@ async function listJobs (req: express.Request, res: express.Response) { asc, jobType }) - const total = await JobQueue.Instance.count(state) + const total = await JobQueue.Instance.count(state, jobType) const result: ResultList = { total,