mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 17:57:51 +01:00
661a1e10f7
Fix #31916 In #30876, `sortOrder` has been changed into a map, but it is only implemented in explore. ~~But it seems that size sort order has no effect from long long ago,~~ not directly caused by the PR above. I think it is still caused by #29231. In #29231, it merged the sort orders from `templates/explore/repo_search.tmpl` and `templates/admin/repo/search.tmpl`. In `templates/admin/repo/search.tmpl`, it contains size sort orders, but not in `templates/explore/repo_search.tmpl`, which is used in non-admin pages. So `order by size` is added from #29231, but the handler was not added. --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
setting | ||
block.go | ||
home.go | ||
main_test.go | ||
members.go | ||
org_labels.go | ||
org.go | ||
projects_test.go | ||
projects.go | ||
setting_oauth2.go | ||
setting_packages.go | ||
setting.go | ||
teams.go |