diff options
author | Roberto Santalla <roobre@users.noreply.github.com> | 2021-01-20 20:53:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 21:53:48 +0200 |
commit | ef85bf84ee42678c1dcb3d6ea69565737c2f6eed (patch) | |
tree | 0c5c16a85733ba74c175a122feae2bd95a2655f8 /models/project_board.go | |
parent | 172229966c9c69305d7b6b9b69552346343fe270 (diff) | |
download | gitea-ef85bf84ee42678c1dcb3d6ea69565737c2f6eed.tar.gz gitea-ef85bf84ee42678c1dcb3d6ea69565737c2f6eed.zip |
Project: show referenced PRs in issue cards (#14183)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'models/project_board.go')
-rw-r--r-- | models/project_board.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |