diff mbox series

[yocto-autobuilder-helper,v2,3/5] dashboard/bugtriage: Use websearch-compatible operator

Message ID 20260317232902.2404326-3-yoann.congal@smile.fr
State New
Headers show
Series [yocto-autobuilder-helper,v2,1/5] dashboard/bugtriage: Add newline at EOL | expand

Commit Message

Yoann Congal March 17, 2026, 11:29 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

Use operators that work in both "/rest/bug" and "/buglist.cgi"
endpoints.

This should not change the displayed bugs.

This is preparation work for the creation of a "View in bugzilla" link.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 scripts/dashboard/bugtriage/index.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html
index e62d211..12c0c9d 100644
--- a/scripts/dashboard/bugtriage/index.html
+++ b/scripts/dashboard/bugtriage/index.html
@@ -564,7 +564,8 @@ 
     async function bugsByWhiteboard(table, keyword) {
       const params = new URLSearchParams({
         resolution: "---",
-        whiteboard: keyword,
+        status_whiteboard: keyword,
+        status_whiteboard_type: "substring",
       });
       const bugs = await searchBugs(table, params);
     }
@@ -579,7 +580,7 @@ 
 
     async function bugsByStatus(table, status) {
       const params = new URLSearchParams({
-        status: status
+        bug_status: status
       });
       const bugs = await searchBugs(table, params);
     }