mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
resolve issue with sort icons on admin/users and admin/runners (#24360)
Fixes #24327 to avoid the sort icon changing the table header over multiple lines and adds missing sort icons on the runners page.
This commit is contained in:
@@ -189,6 +189,12 @@ func (opts FindRunnerOptions) toOrder() string {
|
||||
return "last_online ASC"
|
||||
case "alphabetically":
|
||||
return "name ASC"
|
||||
case "reversealphabetically":
|
||||
return "name DESC"
|
||||
case "newest":
|
||||
return "id DESC"
|
||||
case "oldest":
|
||||
return "id ASC"
|
||||
}
|
||||
return "last_online DESC"
|
||||
}
|
||||
|
Reference in New Issue
Block a user