diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/explore/repo_search.tmpl | 1 | ||||
-rw-r--r-- | templates/org/home.tmpl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index de0b63e077..62bb5ea3c2 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -23,6 +23,7 @@ <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> <input type="hidden" name="tab" value="{{$.TabName}}"> + <input type="hidden" name="sort" value="{{$.SortType}}"> <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> </div> </form> diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 13b557bd7a..03bb525276 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -28,6 +28,7 @@ </div> <div class="ui divider"></div> {{end}} + {{template "explore/repo_search" .}} {{template "explore/repo_list" .}} {{template "base/paginate" .}} </div> |