diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-27 19:42:10 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-27 19:42:10 -0400 |
commit | eb6021f73f270b6fad937432964ab15f42e8f0d9 (patch) | |
tree | 4b6d560c60e41cfec3a20a9ecf6144c27a3353df /models/issue.go | |
parent | 34f4af9ebf179dbb24a7da6091b4259d66a3c426 (diff) |
Fix issue pages URL params
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go index b30676e9..39558ae2 100644 --- a/models/issue.go +++ b/models/issue.go @@ -21,7 +21,8 @@ type Issue struct { Id int64 Index int64 // Index in one repository. Name string - RepoId int64 `xorm:"index"` + RepoId int64 `xorm:"index"` + Repo *Repository `xorm:"-"` PosterId int64 Poster *User `xorm:"-"` MilestoneId int64 |