mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-13 22:29:33 +01:00
5a0bc35799
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> (cherry picked from commit 661a1e10f7abd3527d2abc027dec936022db9379) |
||
---|---|---|
.. | ||
setting | ||
home.go | ||
main_test.go | ||
members.go | ||
org.go | ||
org_labels.go | ||
projects.go | ||
projects_test.go | ||
setting.go | ||
setting_oauth2.go | ||
setting_packages.go | ||
teams.go |