Skip to content

Commit 9c4c3d2

Browse files
committed
Allow querying jobs with a different status than "queued"
1 parent 2e717e6 commit 9c4c3d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mrq/dashboard/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def api_datatables(unit):
180180
if with_mongodb_size:
181181
jobs = connections.mongodb_jobs.mrq_jobs.count({
182182
"queue": name,
183-
"status": "queued"
183+
"status": request.args.get("status") or "queued"
184184
})
185185

186186
q = {

0 commit comments

Comments
 (0)