From 2b059f493e46b8b0fb52492623e36a8375cb5fbb Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sun, 3 Mar 2024 10:28:45 +0800 Subject: 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. --- templates/explore/search.tmpl | 2 -- 1 file changed, 2 deletions(-) (limited to 'templates') diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 63b842cbbf..9597c79449 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -16,8 +16,6 @@ {{ctx.Locale.Tr "repo.issues.filter_sort.oldest"}} {{ctx.Locale.Tr "repo.issues.label.filter_sort.alphabetically"}} {{ctx.Locale.Tr "repo.issues.label.filter_sort.reverse_alphabetically"}} - {{ctx.Locale.Tr "repo.issues.filter_sort.recentupdate"}} - {{ctx.Locale.Tr "repo.issues.filter_sort.leastupdate"}} -- cgit v1.2.3