diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-03-17 17:06:24 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-03-17 17:40:37 +0100 |
| commit | 7939252e4ddf50bbb9912069a40d32f6c83c4f8e (patch) | |
| tree | a13e860147025632bc2305677add89586834979f | |
| parent | 18b586030b9a7e7f4c7208f44be8994740608841 (diff) | |
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.
| -rw-r--r-- | dashboard/app/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 : |
