mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
fix: avoid listing queued jobs if an end bound is set
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user