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 a38eca3 commit e0aacc7Copy full SHA for e0aacc7
routers/web/user/code.go
@@ -27,6 +27,11 @@ func CodeSearch(ctx *context.Context) {
27
shared_user.PrepareContextForProfileBigAvatar(ctx)
28
shared_user.RenderUserHeader(ctx)
29
30
+ if err := shared_user.LoadHeaderCount(ctx); err != nil {
31
+ ctx.ServerError("LoadHeaderCount", err)
32
+ return
33
+ }
34
+
35
ctx.Data["IsPackageEnabled"] = setting.Packages.Enabled
36
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled
37
ctx.Data["Title"] = ctx.Tr("explore.code")
0 commit comments