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 | ||
avatar.go | ||
code.go | ||
home.go | ||
home_test.go | ||
main_test.go | ||
notification.go | ||
package.go | ||
profile.go | ||
search.go | ||
stop_watch.go | ||
task.go |