From 245904195cbb54b7330235ee482fc962bfe7cadd Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 28 Aug 2023 02:37:06 +0200 Subject: [PATCH] fix script_path_start --- backend/windmill-api/src/jobs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/windmill-api/src/jobs.rs b/backend/windmill-api/src/jobs.rs index b0f0a8e1c5..b846e9ec9e 100644 --- a/backend/windmill-api/src/jobs.rs +++ b/backend/windmill-api/src/jobs.rs @@ -2472,7 +2472,7 @@ fn list_completed_jobs_query( } if let Some(ps) = &lq.script_path_start { - sqlb.and_where_like_left("script_path", "?".bind(ps)); + sqlb.and_where_like_left("script_path", ps); } if let Some(p) = &lq.script_path_exact { sqlb.and_where_eq("script_path", "?".bind(p));