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
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
..
admin Support delete user email in admin panel (#31690) 7 months ago
auth add CfTurnstileSitekey context data to all captcha templates (#31874) 6 months ago
devtest Refactor names (#31405) 8 months ago
events Move context from modules to services (#29440) 1 year ago
explore Add missing repository type filter parameters to pager (#31832) 6 months ago
feed Use GetDisplayName() instead of DisplayName() to generate rss feeds (#31687) 7 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Make sure git version&feature are always prepared (#30877) 10 months ago
org Fix sort order for organization home and user profile page (#31921) 6 months ago
repo Don't return 500 if mirror url contains special chars (#31859) 6 months ago
shared Split org Propfile README to a new tab `overview` (#31373) 6 months ago
user Fix sort order for organization home and user profile page (#31921) 6 months ago
base.go Azure blob storage support (#30995) 9 months ago
githttp.go Refactor names (#31405) 8 months ago
goget.go Move context from modules to services (#29440) 1 year ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Fix search team (#31923) 6 months ago
webfinger.go Move context from modules to services (#29440) 1 year ago