Unknwon 9 years ago
parent
commit
00eb2b221f
3 changed files with 5 additions and 4 deletions
  1. +1
    -1
      gogs.go
  2. +3
    -2
      routers/repo/issue.go
  3. +1
    -1
      templates/.VERSION

+ 1
- 1
gogs.go View File

@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)

const APP_VER = "0.6.24.1103 Beta"
const APP_VER = "0.6.24.1104 Beta"

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())


+ 3
- 2
routers/repo/issue.go View File

@@ -124,7 +124,8 @@ func Issues(ctx *middleware.Context) {
} else {
total = int(issueStats.ClosedCount)
}
ctx.Data["Page"] = paginater.New(total, setting.IssuePagingNum, page, 5)
pager := paginater.New(total, setting.IssuePagingNum, page, 5)
ctx.Data["Page"] = pager

// Get issues.
issues, err := models.Issues(&models.IssuesOptions{
@@ -133,7 +134,7 @@ func Issues(ctx *middleware.Context) {
RepoID: repo.ID,
PosterID: posterID,
MilestoneID: milestoneID,
Page: page,
Page: pager.Current(),
IsClosed: isShowClosed,
IsMention: filterMode == models.FM_MENTION,
IsPull: isPullList,


+ 1
- 1
templates/.VERSION View File

@@ -1 +1 @@
0.6.24.1103 Beta
0.6.24.1104 Beta

Loading…
Cancel
Save