From 21f9840e991ae569ec1efa404011e9a16ed2ab3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sun, 9 Sep 2018 20:20:24 +0200 Subject: [PATCH] BugExcerpt: also store bug labels --- cache/bug_excerpt.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index 31e1951fac5c4337496cf5f1f55d9bbf5a0dfea8..94b46cccb54f0ba8474e6d180367e35c9a1e93a8 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -19,6 +19,7 @@ type BugExcerpt struct { Status bug.Status Author bug.Person + Labels []bug.Label } func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) BugExcerpt { @@ -30,6 +31,7 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) BugExcerpt { EditUnixTime: snap.LastEditUnix(), Status: snap.Status, Author: snap.Author, + Labels: snap.Labels, } }