This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Waiting for UI
tags/v1.2.0-rc1
Unknown
11 years ago
parent
7d89e765ab
commit
495d939ca5
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
models/issue.go
+1
-1
routers/repo/issue.go
+ 2
- 0
models/issue.go
View File
@@ -128,6 +128,8 @@ func GetIssues(uid, rid, pid, mid int64, page int, isClosed bool, labels, sortTy
sess.Desc("num_comments")
case "leastcomment":
sess.Asc("num_comments")
case "priority":
sess.Desc("priority")
default:
sess.Desc("created")
}
+ 1
- 1
routers/repo/issue.go
View File
@@ -66,7 +66,7 @@ func Issues(ctx *middleware.Context) {
}
// Get issue-user pairs.
pairs, err := models.GetIssueUserPairs(ctx.Repo.Repository.Id,
ctx.User.
Id, isShowClosed)
pairs, err := models.GetIssueUserPairs(ctx.Repo.Repository.Id,
poster
Id, isShowClosed)
if err != nil {
ctx.Handle(500, "issue.Issues(GetIssueUserPairs): %v", err)
return
Write
Preview
Loading…
Cancel
Save