forked from NYANDEV/forgejo
This commit is contained in:
parent
af1fd56d8a
commit
3ac1f35349
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue