diff --git a/templates/shared/search/code/results.tmpl b/templates/shared/search/code/results.tmpl
index e1ebf1586..09604e0f6 100644
--- a/templates/shared/search/code/results.tmpl
+++ b/templates/shared/search/code/results.tmpl
@@ -24,10 +24,10 @@
{{else}}
{{.Filename}}
{{end}}
- {{ctx.Locale.Tr "repo.diff.view_file"}}
+ {{ctx.Locale.Tr "repo.diff.view_file"}}
- {{template "shared/searchfile" dict "RepoLink" $repo.Link "IsIndexer" true "SearchResult" .}}
+ {{template "shared/searchfile" dict "RepoLink" $repo.Link "CodeIndexerEnabled" $.CodeIndexerEnabled "SearchResult" .}}
{{template "shared/searchbottom" dict "root" $ "result" .}}
diff --git a/templates/shared/search/code/search.tmpl b/templates/shared/search/code/search.tmpl
index 545ec1ea6..4b1257bed 100644
--- a/templates/shared/search/code/search.tmpl
+++ b/templates/shared/search/code/search.tmpl
@@ -1,5 +1,9 @@
diff --git a/templates/shared/searchfile.tmpl b/templates/shared/searchfile.tmpl
index 6ffcd7118..4c098138d 100644
--- a/templates/shared/searchfile.tmpl
+++ b/templates/shared/searchfile.tmpl
@@ -4,7 +4,7 @@
{{range .SearchResult.Lines}}
- {{.Num}}
+ {{.Num}}
|
{{.FormattedContent}} |