aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/explore/repo_search.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl
index 4c72affea0..c1a1418349 100644
--- a/templates/explore/repo_search.tmpl
+++ b/templates/explore/repo_search.tmpl
@@ -28,6 +28,8 @@
{{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
{{if .PageIsExploreRepositories}}
<input type="hidden" name="only_show_relevant" value="{{.OnlyShowRelevant}}">
+ {{else}}
+ <input type="hidden" name="tab" value="repositories">
{{end}}
<button class="ui primary button">{{.locale.Tr "explore.search"}}</button>
</div>