diff --git a/models/user/search.go b/models/user/search.go index a81cee1c22..24a21777e8 100644 --- a/models/user/search.go +++ b/models/user/search.go @@ -45,6 +45,7 @@ func (opts *SearchUserOptions) toSearchQueryBase() *xorm.Session { keywordCond := builder.Or( builder.Like{"lower_name", lowerKeyword}, builder.Like{"LOWER(full_name)", lowerKeyword}, + builder.Like{"LOWER(description)", lowerKeyword}, ) if opts.SearchByEmail { keywordCond = keywordCond.Or(builder.Like{"LOWER(email)", lowerKeyword})