Skip to content

Commit fab63cf

Browse files
authored
Fix repo search broken because of profile page added (#25455)
Fix #25433 Caused by #23260
1 parent 375fd15 commit fab63cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/explore/repo_search.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
{{template "shared/searchinput" dict "locale" .locale "Value" .Keyword "AutoFocus" true}}
2929
{{if .PageIsExploreRepositories}}
3030
<input type="hidden" name="only_show_relevant" value="{{.OnlyShowRelevant}}">
31+
{{else}}
32+
<input type="hidden" name="tab" value="repositories">
3133
{{end}}
3234
<button class="ui primary button">{{.locale.Tr "explore.search"}}</button>
3335
</div>

0 commit comments

Comments
 (0)