1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/web/explore
wxiaoguang 2b059f493e
Only use supported sort order for "explore/users" page (#29430) (#29443)
Backport #29430

Thanks to inferenceus : some sort orders on the "explore/users" page
could list users by their lastlogintime/updatetime.

It leaks user's activity unintentionally. This PR makes that page only
use "supported" sort orders.

Removing the "sort orders" could also be a good solution, while IMO at
the moment keeping the "create time" and "name" orders is also fine, in
case some users would like to find a target user in the search result,
the "sort order" might help.
2024-03-03 02:28:45 +00:00
..
code.go Refactor indexer (#25174) 2023-06-23 12:37:56 +00:00
org.go Only use supported sort order for "explore/users" page (#29430) (#29443) 2024-03-03 02:28:45 +00:00
repo.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
topic.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
user.go Only use supported sort order for "explore/users" page (#29430) (#29443) 2024-03-03 02:28:45 +00:00