mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-18 01:14:37 -04:00
Add order by for assignee no sort issue (#20053)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
f85bb6f70b
commit
931c02d152
4 changed files with 11 additions and 3 deletions
|
@ -1314,3 +1314,10 @@ func IsUserVisibleToViewer(ctx context.Context, u, viewer *User) bool {
|
|||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func GetOrderByName() string {
|
||||
if setting.UI.DefaultShowFullName {
|
||||
return "full_name, name"
|
||||
}
|
||||
return "name"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue