0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 22:11:32 +01:00
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>
2024-09-01 16:55:05 +00:00
..
setting add skip secondary authorization option for public oauth2 clients (#31454) 2024-07-19 14:28:30 -04:00
avatar.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
code.go Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
home.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 2024-07-28 23:11:40 +08:00
home_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Add missing repository type filter parameters to pager (#31832) 2024-08-15 16:34:24 +00:00
package.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
profile.go Fix sort order for organization home and user profile page (#31921) 2024-09-01 16:55:05 +00:00
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
stop_watch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
task.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00