mirror of
https://github.com/go-gitea/gitea
synced 2025-07-18 16:28:36 +00:00
This commit is contained in:
@@ -106,6 +106,7 @@ func GetAllOrgs(ctx *context.APIContext) {
|
||||
listOptions := utils.GetListOptions(ctx)
|
||||
|
||||
users, maxResults, err := models.SearchUsers(&models.SearchUserOptions{
|
||||
Actor: ctx.User,
|
||||
Type: models.UserTypeOrganization,
|
||||
OrderBy: models.SearchOrderByAlphabetically,
|
||||
ListOptions: listOptions,
|
||||
|
Reference in New Issue
Block a user