We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d65734 commit 57b72a0Copy full SHA for 57b72a0
routers/web/shared/user/header.go
@@ -63,6 +63,7 @@ func PrepareContextForProfileBigAvatar(ctx *context.Context) {
63
IncludePrivate: showPrivate,
64
ListOptions: db.ListOptions{
65
Page: 1,
66
+ // query one more results (without a separate counting) to see whether we need to add the "show more orgs" link
67
PageSize: setting.UI.User.OrgPagingNum + 1,
68
},
69
})
0 commit comments