From be59fe0d67805117f537ec64dea92b7113cb387a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 1 Oct 2018 21:55:41 +0200 Subject: cache: also index the first op metadata --- cache/bug_excerpt.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cache/bug_excerpt.go') diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index 426827e6..7a11fa82 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -20,6 +20,8 @@ type BugExcerpt struct { Status bug.Status Author bug.Person Labels []bug.Label + + CreateMetadata map[string]string } func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt { @@ -32,6 +34,7 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt { Status: snap.Status, Author: snap.Author, Labels: snap.Labels, + CreateMetadata: b.FirstOp().AllMetadata(), } } -- cgit