Add option to search for users is active join a team (#24093)
Adding a user in a team to enter a username gives a list of no active users --------- Co-authored-by: Jason Song <i@wolfogre.com>
This commit is contained in:
parent
cfe3d6e9b5
commit
ed81b608cb
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ func Search(ctx *context.Context) {
|
|||
Keyword: ctx.FormTrim("q"),
|
||||
UID: ctx.FormInt64("uid"),
|
||||
Type: user_model.UserTypeIndividual,
|
||||
IsActive: ctx.FormOptionalBool("active"),
|
||||
ListOptions: listOptions,
|
||||
})
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue