| Message ID | 20260911210351.2020798-8-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [yocto-autobuilder-helper,1/8] dashboard/bugtriage: reformat HTML | expand |
diff --git a/scripts/dashboard/bugtriage/index.html b/scripts/dashboard/bugtriage/index.html index c34fcaf3..73fb1317 100644 --- a/scripts/dashboard/bugtriage/index.html +++ b/scripts/dashboard/bugtriage/index.html @@ -773,7 +773,11 @@ params = bugsByWhiteboard("AB-INT"); break; case "#newcomer": - params = bugsByWhiteboard("NEWCOMER"); + params = new BZSearch(); + params.appendNotResolved(); + params.appendOperator("OR"); + params.appendQuery("status_whiteboard", "allwords", "NEWCOMER"); + params.appendQuery("assigned_to", "equals", "newcomer@yoctoproject.org"); break; case "#retest": params = bugsByWhiteboard("RETEST");
The current Newcomer section shows bugs that have been tagged with the NEWCOMER whiteboard status. However there are also occasionally bugs that are assigned to newcomer@ without that whiteboard status. Construct a query using OR operators to match either bugs that have the whiteboard status, or are assigned. The OR operator is needed like, where it effectively creates a group around assigned_to and status_whiteboard, as otherwise all of the filters are considered to be OR instead AND resulting in thousands of matches. Signed-off-by: Ross Burton <ross.burton@arm.com> --- scripts/dashboard/bugtriage/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)