Browse Source

Waiting for UI

tags/v0.9.99
Unknown 10 years ago
parent
commit
495d939ca5
2 changed files with 3 additions and 1 deletions
  1. 2
    0
      models/issue.go
  2. 1
    1
      routers/repo/issue.go

+ 2
- 0
models/issue.go View File

sess.Desc("num_comments") sess.Desc("num_comments")
case "leastcomment": case "leastcomment":
sess.Asc("num_comments") sess.Asc("num_comments")
case "priority":
sess.Desc("priority")
default: default:
sess.Desc("created") sess.Desc("created")
} }

+ 1
- 1
routers/repo/issue.go View File

} }


// Get issue-user pairs. // Get issue-user pairs.
pairs, err := models.GetIssueUserPairs(ctx.Repo.Repository.Id, ctx.User.Id, isShowClosed)
pairs, err := models.GetIssueUserPairs(ctx.Repo.Repository.Id, posterId, isShowClosed)
if err != nil { if err != nil {
ctx.Handle(500, "issue.Issues(GetIssueUserPairs): %v", err) ctx.Handle(500, "issue.Issues(GetIssueUserPairs): %v", err)
return return

Loading…
Cancel
Save