Enable admin to search by email (#2888)

This commit is contained in:
Ethan Koenig authored and Lunny Xiao committed 2017-11-26 16:40:38 +08:00
1 parent 061c501d54
commit 716ac1214f
2 files changed
+16 -10

No files matched your search

+3 -2
View File
@@ -31,8 +31,9 @@ func Users(ctx *context.Context) {
ctx.Data["PageIsAdminUsers"] = true
routers.RenderUserSearch(ctx, &models.SearchUserOptions{
Type: models.UserTypeIndividual,
PageSize: setting.UI.Admin.UserPagingNum,
Type: models.UserTypeIndividual,
PageSize: setting.UI.Admin.UserPagingNum,
SearchByEmail: true,
}, tplUsers)
}