0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 10:14:22 +01:00

Fix repo search broken because of profile page added (#25455)

Fix #25433 
Caused by #23260
This commit is contained in:
Lunny Xiao 2023-06-23 21:11:12 +08:00 committed by GitHub
parent 375fd15fbf
commit fab63cf565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>