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/user
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 add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
avatar.go Refactor names (#31405) 8 months ago
code.go Remove AddParamIfExist(AddParam) (#29841) 11 months ago
home.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 7 months ago
home_test.go Refactor names (#31405) 8 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Add missing repository type filter parameters to pager (#31832) 6 months ago
package.go Refactor names (#31405) 8 months ago
profile.go Fix sort order for organization home and user profile page (#31921) 6 months ago
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
stop_watch.go Move context from modules to services (#29440) 1 year ago
task.go Refactor names (#31405) 8 months ago