You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/org
yp05327 661a1e10f7
Fix sort order for organization home and user profile page (#31921)
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>
6 months ago
..
setting Move context from modules to services (#29440) 1 year ago
block.go Add user blocking (#29028) 12 months ago
home.go Fix sort order for organization home and user profile page (#31921) 6 months ago
main_test.go make writing main test easier (#27270) 1 year ago
members.go Split org Propfile README to a new tab `overview` (#31373) 6 months ago
org.go Move context from modules to services (#29440) 1 year ago
org_labels.go Move context from modules to services (#29440) 1 year ago
projects.go Add issue comment when moving issues from one column to another of the project (#29311) 7 months ago
projects_test.go Refactor names (#31405) 8 months ago
setting.go Move context from modules to services (#29440) 1 year ago
setting_oauth2.go Move context from modules to services (#29440) 1 year ago
setting_packages.go Move context from modules to services (#29440) 1 year ago
teams.go Split org Propfile README to a new tab `overview` (#31373) 6 months ago