aboutsummaryrefslogtreecommitdiff
path: root/routers/web/user/profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/user/profile.go')
-rw-r--r--routers/web/user/profile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go
index 7cd87eb30..bf2660881 100644
--- a/routers/web/user/profile.go
+++ b/routers/web/user/profile.go
@@ -282,6 +282,7 @@ func Profile(ctx *context.Context) {
pager := context.NewPagination(total, setting.UI.User.RepoPagingNum, page, 5)
pager.SetDefaultParams(ctx)
+ pager.AddParam(ctx, "tab", "TabName")
if tab != "followers" && tab != "following" && tab != "activity" && tab != "projects" {
pager.AddParam(ctx, "language", "Language")
}