(refs #2)Implementing 'Pull Requests' tab in the dashboard.

This commit is contained in:
takezoe
2013-08-06 22:04:09 +09:00
parent 50655d1ac2
commit 908931b9ed
7 changed files with 191 additions and 98 deletions

View File

@@ -386,7 +386,7 @@ trait PullRequestsControllerBase extends ControllerBase {
pulls.html.list(
searchIssue(condition, filterUser, true, (page - 1) * PullRequestLimit, PullRequestLimit, owner -> repoName),
getPullRequestCount(condition.state == "closed", Some(owner, repoName)),
getPullRequestCount(condition.state == "closed", owner, Some(repoName)),
userName,
page,
countIssue(condition.copy(state = "open"), filterUser, true, owner -> repoName),