diff --git a/backend/windmill-api/src/jobs.rs b/backend/windmill-api/src/jobs.rs index 1c1deefa4f..4c11515291 100644 --- a/backend/windmill-api/src/jobs.rs +++ b/backend/windmill-api/src/jobs.rs @@ -2387,8 +2387,10 @@ async fn list_jobs( let sql = if lq.success.is_none() && lq.label.is_none() - && lq.created_or_started_before.is_none() + && lq.created_before.is_none() && lq.started_before.is_none() + && lq.created_or_started_before.is_none() + && lq.completed_before.is_none() { let mut sqlq = list_queue_jobs_query( &w_id,