Skip to content

Commit b0de3d0

Browse files
GiteaBotlunny
andauthored
Fix repo search broken because of profile page added (#25455) (#25467)
Backport #25455 by @lunny Fix #25433 Caused by #23260 Co-authored-by: Lunny Xiao <[email protected]>
1 parent 2e64449 commit b0de3d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/explore/repo_search.tmpl

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
<input name="q" value="{{.Keyword}}" placeholder="{{.locale.Tr "explore.search"}}…" autofocus>
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)