summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/web/user/search.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/user/search.go b/routers/web/user/search.go
index c5c3aa75f0..bdc4116e37 100644
--- a/routers/web/user/search.go
+++ b/routers/web/user/search.go
@@ -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 {