|
|
@ -102,7 +102,7 @@ func RenderUserSearch(ctx *context.Context, opts *user_model.SearchUserOptions, |
|
|
|
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail |
|
|
|
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail |
|
|
|
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled |
|
|
|
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled |
|
|
|
|
|
|
|
|
|
|
|
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5) |
|
|
|
pager := context.NewPagination(int(count), 8 * 1024, opts.Page, 5) |
|
|
|
pager.SetDefaultParams(ctx) |
|
|
|
pager.SetDefaultParams(ctx) |
|
|
|
for paramKey, paramVal := range opts.ExtraParamStrings { |
|
|
|
for paramKey, paramVal := range opts.ExtraParamStrings { |
|
|
|
pager.AddParamString(paramKey, paramVal) |
|
|
|
pager.AddParamString(paramKey, paramVal) |
|
|
|