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>
2024-09-01 16:55:05 +00:00
..
setting Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
home.go Fix sort order for organization home and user profile page (#31921) 2024-09-01 16:55:05 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
members.go Split org Propfile README to a new tab overview (#31373) 2024-08-27 10:54:12 +08:00
org_labels.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
projects_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
projects.go Add issue comment when moving issues from one column to another of the project (#29311) 2024-08-09 01:29:02 +00:00
setting_oauth2.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting_packages.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
setting.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
teams.go Split org Propfile README to a new tab overview (#31373) 2024-08-27 10:54:12 +08:00