From 7939252e4ddf50bbb9912069a40d32f6c83c4f8e Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 17 Mar 2023 17:06:24 +0100 Subject: dashboard: point to subsystem page(s) from the bug page Currently we give links to the filtered views of open bugs, while the subsystem page is more informative. --- dashboard/app/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/app/main.go b/dashboard/app/main.go index df1f2a326..fb944b04e 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -724,7 +724,7 @@ func handleBug(c context.Context, w http.ResponseWriter, r *http.Request) error for _, entry := range bug.Tags.Subsystems { data.Subsystems = append(data.Subsystems, &uiBugSubsystem{ Name: entry.Name, - Link: html.AmendURL("/"+bug.Namespace, "subsystem", entry.Name), + Link: fmt.Sprintf("/%s/s/%s", bug.Namespace, entry.Name), }) } // bug.BisectFix is set to BisectNot in two cases : -- cgit mrf-deployment