summaryrefslogtreecommitdiffstats
path: root/modules/migrations/gitea_uploader.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-12-13 11:34:11 +0000
committerGitHub <noreply@github.com>2020-12-13 11:34:11 +0000
commit825efa2605421a54ad1c5960de9e121a34d68d1a (patch)
tree8442728c795f4c9cf4116526258e9db38e0bb90f /modules/migrations/gitea_uploader.go
parentcf6f8b22caa64c95a96b16881aa19a95c0edb7c1 (diff)
downloadgitea-825efa2605421a54ad1c5960de9e121a34d68d1a.tar.gz
gitea-825efa2605421a54ad1c5960de9e121a34d68d1a.zip
[API] Add Ref to Issue (#13946)
* Add Ref to api.Issue This PR adds Ref to api.Issue and adds the backend parts to the migrator. Fix #13918 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/migrations/gitea_uploader.go')
-rw-r--r--modules/migrations/gitea_uploader.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/migrations/gitea_uploader.go b/modules/migrations/gitea_uploader.go
index 2cb19685fc..20d7d81ae1 100644
--- a/modules/migrations/gitea_uploader.go
+++ b/modules/migrations/gitea_uploader.go
@@ -333,6 +333,7 @@ func (g *GiteaLocalUploader) CreateIssues(issues ...*base.Issue) error {
Index: issue.Number,
Title: issue.Title,
Content: issue.Content,
+ Ref: issue.Ref,
IsClosed: issue.State == "closed",
IsLocked: issue.IsLocked,
MilestoneID: milestoneID,