aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-25 13:07:00 +0800
committerUnknwon <u@gogs.io>2015-07-25 13:07:00 +0800
commit2e7b38db9f0089b2c0af9ae81a969fe03b799a40 (patch)
tree50afe0b87f8479c771cfb847d76d3e652751a67f /templates
parent68cacf9c63024921818190163b3fa25158980b09 (diff)
downloadgitea-2e7b38db9f0089b2c0af9ae81a969fe03b799a40.tar.gz
gitea-2e7b38db9f0089b2c0af9ae81a969fe03b799a40.zip
fix paging links and issue count
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 27cdeadc87..1b85a34310 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -87,8 +87,8 @@
{{end}}
<div class="center page buttons">
- <a class="ui {{if not .PreviousPage}}disabled{{end}} blue button" href="{{.RepoLink}}/issues?page={{.PreviousPage}}">{{.i18n.Tr "repo.issues.previous"}}</a>
- <a class="ui {{if not .NextPage}}disabled{{end}} blue button" href="{{.RepoLink}}/issues?page={{.NextPage}}">{{.i18n.Tr "repo.issues.next"}}</a>
+ <a class="ui {{if not .PreviousPage}}disabled{{end}} blue button" href="{{.RepoLink}}/issues?type={{$.ViewType}}&state={{$.State}}&labels={{.SelectLabels}}&page={{.PreviousPage}}">{{.i18n.Tr "repo.issues.previous"}}</a>
+ <a class="ui {{if not .NextPage}}disabled{{end}} blue button" href="{{.RepoLink}}/issues?type={{$.ViewType}}&state={{$.State}}&labels={{.SelectLabels}}&page={{.NextPage}}">{{.i18n.Tr "repo.issues.next"}}</a>
</div>
</div>
</div>