Skip to content

Commit

Permalink
Fix repo search broken because of profile page added (#25455) (#25467)
Browse files Browse the repository at this point in the history
Backport #25455 by @lunny

Fix #25433 
Caused by #23260

Co-authored-by: Lunny Xiao <[email protected]>
  • Loading branch information
GiteaBot and lunny authored Jun 23, 2023
1 parent 2e64449 commit b0de3d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/explore/repo_search.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b0de3d0

Please sign in to comment.