From ef85bf84ee42678c1dcb3d6ea69565737c2f6eed Mon Sep 17 00:00:00 2001 From: Roberto Santalla Date: Wed, 20 Jan 2021 20:53:48 +0100 Subject: Project: show referenced PRs in issue cards (#14183) Co-authored-by: Lauris BH --- models/project_board.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'models/project_board.go') diff --git a/models/project_board.go b/models/project_board.go index 8ffa218377..a9c0b3ed8b 100644 --- a/models/project_board.go +++ b/models/project_board.go @@ -256,6 +256,10 @@ func (b *ProjectBoard) LoadIssues() (IssueList, error) { issueList = append(issueList, issues...) } + if err := IssueList(issueList).LoadComments(); err != nil { + return nil, err + } + b.Issues = issueList return issueList, nil } -- cgit v1.2.3