diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index 85c1be8e6e..dac924638f 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -28,6 +28,8 @@ <input name="q" value="{{.Keyword}}" placeholder="{{.locale.Tr "explore.search"}}…" autofocus> {{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>