mirror of
https://github.com/go-gitea/gitea
synced 2025-08-23 01:48:27 +00:00
This commit is contained in:
@@ -130,6 +130,7 @@ func GetAll(ctx *context.APIContext) {
|
||||
listOptions := utils.GetListOptions(ctx)
|
||||
|
||||
publicOrgs, maxResults, err := models.SearchUsers(&models.SearchUserOptions{
|
||||
Actor: ctx.User,
|
||||
ListOptions: listOptions,
|
||||
Type: models.UserTypeOrganization,
|
||||
OrderBy: models.SearchOrderByAlphabetically,
|
||||
|
Reference in New Issue
Block a user