From 5232cf0254feea67f22bebab12e4302bb37f74f6 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 28 Mar 2023 17:01:21 +0200 Subject: dashboard: share repro level and report link in SimilarBugInfo This will make FullBugInfo's contents much more useful. --- dashboard/app/reporting.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'dashboard/app/reporting.go') diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go index 6d6abc17a..216bcca0e 100644 --- a/dashboard/app/reporting.go +++ b/dashboard/app/reporting.go @@ -1324,11 +1324,13 @@ func loadFullBugInfo(c context.Context, bug *Bug, bugKey *db.Key, return nil, err } ret.SimilarBugs = append(ret.SimilarBugs, &dashapi.SimilarBugInfo{ - Title: similarBug.displayTitle(), - Status: status, - Namespace: similarBug.Namespace, - Link: fmt.Sprintf("%v/bug?extid=%v", appURL(c), bugReporting.ID), - Closed: similarBug.Closed, + Title: similarBug.displayTitle(), + Status: status, + Namespace: similarBug.Namespace, + ReproLevel: similarBug.ReproLevel, + Link: fmt.Sprintf("%v/bug?extid=%v", appURL(c), bugReporting.ID), + ReportLink: bugReporting.Link, + Closed: similarBug.Closed, }) } // Query crashes. -- cgit mrf-deployment