From 21f9840e991ae569ec1efa404011e9a16ed2ab3b Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 9 Sep 2018 20:20:24 +0200 Subject: BugExcerpt: also store bug labels --- cache/bug_excerpt.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cache/bug_excerpt.go') diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index 31e1951f..94b46ccc 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, } } -- cgit